File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
spring-test/src/main/java/org/springframework/mock/web Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -253,7 +253,6 @@ public Enumeration<String> getAttributeNames() {
253
253
return Collections .enumeration (new LinkedHashSet <String >(this .attributes .keySet ()));
254
254
}
255
255
256
- @ SuppressWarnings ("unchecked" )
257
256
public Enumeration <String > getAttributeNamesInScope (int scope ) {
258
257
switch (scope ) {
259
258
case PAGE_SCOPE :
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2013 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -91,7 +91,6 @@ public String getRealPath(String path) {
91
91
return this .servletContext .getRealPath (path );
92
92
}
93
93
94
- @ SuppressWarnings ("unchecked" )
95
94
public Set <String > getResourcePaths (String path ) {
96
95
return this .servletContext .getResourcePaths (path );
97
96
}
@@ -104,7 +103,6 @@ public Object getAttribute(String name) {
104
103
return this .servletContext .getAttribute (name );
105
104
}
106
105
107
- @ SuppressWarnings ("unchecked" )
108
106
public Enumeration <String > getAttributeNames () {
109
107
return this .servletContext .getAttributeNames ();
110
108
}
@@ -113,7 +111,6 @@ public String getInitParameter(String name) {
113
111
return this .servletContext .getInitParameter (name );
114
112
}
115
113
116
- @ SuppressWarnings ("unchecked" )
117
114
public Enumeration <String > getInitParameterNames () {
118
115
return this .servletContext .getInitParameterNames ();
119
116
}
You can’t perform that action at this time.
0 commit comments