changeset 14322:f17cf2e58bb3

8001565: (fs) Typo Path.endsWith(String) javadoc Reviewed-by: mchung, jgish, lancea
author dxu
date Thu, 25 Oct 2012 15:42:49 -0700
parents 7f9f265ac11e
children 5acca3d1f124
files jdk/src/share/classes/java/nio/file/Path.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/share/classes/java/nio/file/Path.java	Thu Oct 25 15:04:09 2012 -0700
+++ b/jdk/src/share/classes/java/nio/file/Path.java	Thu Oct 25 15:42:49 2012 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -297,7 +297,7 @@
      * @param   other
      *          the given path string
      *
-     * @return  {@code true} if this path starts with the given path; otherwise
+     * @return  {@code true} if this path ends with the given path; otherwise
      *          {@code false}
      *
      * @throws  InvalidPathException