Mercurial > hg > openjdk > jdk8 > jdk
changeset 6053:27677928a937
8001565: (fs) Typo Path.endsWith(String) javadoc
Reviewed-by: mchung, jgish, lancea
author | dxu |
---|---|
date | Thu, 25 Oct 2012 15:42:49 -0700 |
parents | 37a4b4892e8e |
children | 6302932b7380 |
files | src/share/classes/java/nio/file/Path.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/java/nio/file/Path.java Thu Oct 25 15:04:09 2012 -0700 +++ b/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