poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1747822 - /poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java
Date Sat, 11 Jun 2016 00:34:22 GMT
Author: onealj
Date: Sat Jun 11 00:34:22 2016
New Revision: 1747822

URL: http://svn.apache.org/viewvc?rev=1747822&view=rev
Log:
whitespace (tabs to spaces)

Modified:
    poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java

Modified: poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java?rev=1747822&r1=1747821&r2=1747822&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java (original)
+++ poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java Sat Jun 11 00:34:22
2016
@@ -29,22 +29,22 @@ import org.apache.poi.ss.formula.functio
  * @author PUdalau
  */
 public final class DefaultUDFFinder implements UDFFinder {
-	private final Map<String, FreeRefFunction> _functionsByName;
+    private final Map<String, FreeRefFunction> _functionsByName;
 
-	public DefaultUDFFinder(String[] functionNames, FreeRefFunction[] functionImpls) {
-		int nFuncs = functionNames.length;
-		if (functionImpls.length != nFuncs) {
-			throw new IllegalArgumentException(
-					"Mismatch in number of function names and implementations");
-		}
-		HashMap<String, FreeRefFunction> m = new HashMap<String, FreeRefFunction>(nFuncs
* 3 / 2);
-		for (int i = 0; i < functionImpls.length; i++) {
-			m.put(functionNames[i].toUpperCase(Locale.ROOT), functionImpls[i]);
-		}
-		_functionsByName = m;
-	}
+    public DefaultUDFFinder(String[] functionNames, FreeRefFunction[] functionImpls) {
+        int nFuncs = functionNames.length;
+        if (functionImpls.length != nFuncs) {
+            throw new IllegalArgumentException(
+                    "Mismatch in number of function names and implementations");
+        }
+        HashMap<String, FreeRefFunction> m = new HashMap<String, FreeRefFunction>(nFuncs
* 3 / 2);
+        for (int i = 0; i < functionImpls.length; i++) {
+            m.put(functionNames[i].toUpperCase(Locale.ROOT), functionImpls[i]);
+        }
+        _functionsByName = m;
+    }
 
-	public FreeRefFunction findFunction(String name) {
-		return _functionsByName.get(name.toUpperCase(Locale.ROOT));
-	}
+    public FreeRefFunction findFunction(String name) {
+        return _functionsByName.get(name.toUpperCase(Locale.ROOT));
+    }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message