Skip to content
This repository was archived by the owner on Jun 6, 2018. It is now read-only.

Commit 0aaa3ae

Browse files
author
Ed Burns
committed
After discussion with Shing-wai, arrive at wording for getServletName()
1 parent 12f2f52 commit 0aaa3ae

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/javax/servlet/http/HttpServletMapping.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
33
*
4-
* Copyright (c) 1997-2017 Oracle and/or its affiliates. All rights reserved.
4+
* Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
55
*
66
* The contents of this file are subject to the terms of either the GNU
77
* General Public License Version 2 only ("GPL") or the Common Development
@@ -150,8 +150,9 @@ public interface HttpServletMapping {
150150

151151
/**
152152
* <p>Return the String representation for the {@code servlet-name}
153-
* for this mapping. In the case of a {@code DEFAULT MappingMatch},
154-
* the return from this method is unspecified.</p>
153+
* for this mapping. If the Servlet providing the response is the
154+
* default servlet, the return from this method is the name of the
155+
* defautl servlet, which is container specific.</p>
155156
*
156157
* @return the String representation for the {@code servlet-name}
157158
* for this mapping.

0 commit comments

Comments
 (0)