Author: remy.maucherat(a)jboss.com
Date: 2007-10-02 10:08:19 -0400 (Tue, 02 Oct 2007)
New Revision: 289
Modified:
trunk/java/org/apache/catalina/manager/util/SessionUtils.java
Log:
- Fix one explicit warning.
Modified: trunk/java/org/apache/catalina/manager/util/SessionUtils.java
===================================================================
--- trunk/java/org/apache/catalina/manager/util/SessionUtils.java 2007-10-02 01:14:17 UTC
(rev 288)
+++ trunk/java/org/apache/catalina/manager/util/SessionUtils.java 2007-10-02 14:08:19 UTC
(rev 289)
@@ -118,10 +118,10 @@
Object probableEngine = tapestryArray.get(0);
if (null != probableEngine) {
try {
- Method readMethod =
probableEngine.getClass().getMethod("getLocale", null);//$NON-NLS-1$
+ Method readMethod =
probableEngine.getClass().getMethod("getLocale", (Class[]) null);//$NON-NLS-1$
if (null != readMethod) {
// Call the property getter and return the value
- Object possibleLocale = readMethod.invoke(probableEngine,
null);
+ Object possibleLocale = readMethod.invoke(probableEngine,
(Object[]) null);
if (null != possibleLocale && possibleLocale
instanceof Locale) {
locale = (Locale) possibleLocale;
}
Show replies by date