Skip to content

Commit bc104ce

Browse files
author
Nathan Marz
committed
formatting
1 parent 8a01086 commit bc104ce

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/jvm/backtype/storm/serialization/KryoFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public static ObjectBuffer getKryo(Map conf) {
3939
k.register(ArrayList.class);
4040
k.register(HashMap.class);
4141
k.register(HashSet.class);
42+
// TODO: do clojure persistent data structures
4243
Map<String, String> registrations = (Map<String, String>) conf.get(Config.TOPOLOGY_KRYO_REGISTER);
4344
if(registrations==null) registrations = new HashMap<String, String>();
4445
boolean skipMissing = (Boolean) conf.get(Config.TOPOLOGY_SKIP_MISSING_KRYO_REGISTRATIONS);
@@ -66,8 +67,7 @@ public static ObjectBuffer getKryo(Map conf) {
6667
} catch (IllegalAccessException e) {
6768
throw new RuntimeException(e);
6869
}
69-
}
70-
// TODO: do clojure persistent data structures
70+
}
7171
k.overrideDefault(true);
7272
return new ObjectBuffer(k, 2000, 2000000000);
7373
}

src/jvm/backtype/storm/task/OutputCollectorImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private Tuple anchorTuple(Collection<Tuple> anchors, int streamId, List<Object>
5050
for(long root: anchor.getMessageId().getAnchorsToIds().keySet()) {
5151
Long curr = anchorsToIds.get(root);
5252
if(curr == null) curr = 0L;
53-
anchorsToIds.put(root, curr ^ newId);
53+
anchorsToIds.put(root, curr ^ newId);
5454
}
5555
}
5656
}

src/jvm/backtype/storm/utils/Utils.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import java.io.FileOutputStream;
1010
import java.io.FileReader;
1111
import java.io.InputStreamReader;
12-
import java.io.InputStream;
1312
import java.io.IOException;
1413
import java.io.ObjectInputStream;
1514
import java.io.ObjectOutputStream;

0 commit comments

Comments
 (0)