MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / sortUniq

Method sortUniq

src/main/java/core/packetproxy/gui/GUIDiffJson.java:30–35  ·  view source on GitHub ↗
(DiffSet ds)

Source from the content-addressed store, hash-verified

28
29 protected JCheckBox jcCh;
30 @Override
31 protected DiffSet sortUniq(DiffSet ds) {
32 String strOrig = sortUniq(new String(ds.getOriginal()));
33 String strTarg = sortUniq(new String(ds.getTarget()));
34 return new DiffSet(strOrig.getBytes(), strTarg.getBytes());
35 }
36
37 public GUIDiffJson() throws Exception {
38 jcCh = new JCheckBox("Character based (default: Line based)");

Callers 1

updateMethod · 0.95

Calls 3

getOriginalMethod · 0.80
getBytesMethod · 0.65
getTargetMethod · 0.45

Tested by

no test coverage detected