8001565: (fs) Typo Path.endsWith(String) javadoc
Reviewed-by: mchung, jgish, lancea
--- 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