From 78aeafc1a2dca303f39987b1ba08de95e35f7028 Mon Sep 17 00:00:00 2001 From: Dan Xu Date: Thu, 25 Oct 2012 15:42:49 -0700 Subject: [PATCH] 8001565: (fs) Typo Path.endsWith(String) javadoc Reviewed-by: mchung, jgish, lancea --- jdk/src/share/classes/java/nio/file/Path.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jdk/src/share/classes/java/nio/file/Path.java b/jdk/src/share/classes/java/nio/file/Path.java index eec1e631c35..a7933a34815 100644 --- a/jdk/src/share/classes/java/nio/file/Path.java +++ b/jdk/src/share/classes/java/nio/file/Path.java @@ -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 @@ public interface Path * @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