summaryrefslogtreecommitdiffstats
path: root/src/org/jetbrains/java/decompiler/util/FastSparseSetFactory.java
diff options
context:
space:
mode:
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-08-29 14:31:45 +0400
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-08-29 14:57:29 +0400
commit84ea54eb1e2c68091080951a3024cca98f70aca2 (patch)
tree323218d81ced0fd327fa3701ec9f7f1e407855f8 /src/org/jetbrains/java/decompiler/util/FastSparseSetFactory.java
parent076e4393f25bf1ad1ff1bd2853153e2b595dd90b (diff)
downloadfernflower-84ea54eb1e2c68091080951a3024cca98f70aca2.tar
fernflower-84ea54eb1e2c68091080951a3024cca98f70aca2.tar.gz
fernflower-84ea54eb1e2c68091080951a3024cca98f70aca2.tar.lz
fernflower-84ea54eb1e2c68091080951a3024cca98f70aca2.tar.xz
fernflower-84ea54eb1e2c68091080951a3024cca98f70aca2.zip
java-decompiler: post-import cleanup (code style issues)
Diffstat (limited to 'src/org/jetbrains/java/decompiler/util/FastSparseSetFactory.java')
-rw-r--r--src/org/jetbrains/java/decompiler/util/FastSparseSetFactory.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/org/jetbrains/java/decompiler/util/FastSparseSetFactory.java b/src/org/jetbrains/java/decompiler/util/FastSparseSetFactory.java
index 301a1ff..863dd72 100644
--- a/src/org/jetbrains/java/decompiler/util/FastSparseSetFactory.java
+++ b/src/org/jetbrains/java/decompiler/util/FastSparseSetFactory.java
@@ -122,9 +122,7 @@ public class FastSparseSetFactory<E> {
System.arraycopy(data, 0, cpdata, 0, arrlength);
System.arraycopy(next, 0, cpnext, 0, arrlength);
- FastSparseSet<E> copy = new FastSparseSet<E>(factory, cpdata, cpnext);
-
- return copy;
+ return new FastSparseSet<E>(factory, cpdata, cpnext);
}
private int[] ensureCapacity(int index) {