commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r930980 - /commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java
Date Mon, 05 Apr 2010 23:27:03 GMT
Author: sebb
Date: Mon Apr  5 23:27:02 2010
New Revision: 930980

URL: http://svn.apache.org/viewvc?rev=930980&view=rev
Log:
Add space to make ternary ? operator clearer

Modified:
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java?rev=930980&r1=930979&r2=930980&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java
Mon Apr  5 23:27:02 2010
@@ -98,7 +98,7 @@ public class UberspectImpl extends Intro
      * @return a {@link Field}.
      */
     public Field getField(Object obj, String name, JexlInfo info) {
-        final Class<?> clazz = obj instanceof Class<?>? (Class<?>) obj
: obj.getClass();
+        final Class<?> clazz = obj instanceof Class<?> ? (Class<?>) obj
: obj.getClass();
         return getField(clazz, name);
     }
 



Mime
View raw message