8001565: (fs) Typo Path.endsWith(String) javadoc
authordxu
Thu, 25 Oct 2012 15:42:49 -0700
changeset 14322 f17cf2e58bb3
parent 14321 7f9f265ac11e
child 14323 5acca3d1f124
8001565: (fs) Typo Path.endsWith(String) javadoc Reviewed-by: mchung, jgish, lancea
jdk/src/share/classes/java/nio/file/Path.java
--- 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