Match Group 0 of size 1+42 ---- Ranked Result: ---- Match Group 1 of size 1+1070 ---- Ranked Result: 1. (size 3) Sleep a bit. 2. (size 3) sleep for 10s 3. (size 4) Sleep and try again ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/Util.java: 2960-2960 Length: 3 * try { Thread.sleep(500); } catch (InterruptedException ex) {} ---- /home/edmund/database-mana/databaseGitHub/jstorm/jstorm-server/src/main/java/com/alibaba/jstorm/task/TaskShutdownDameon.java: 65-67 Length: 3 local sim: [[thread]] global sim: [[]] waiting 100ms for executor thread shutting it's own < try { < Thread.sleep(100); < } catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/lwjgl/src/java/org/lwjgl/test/opengl/FullScreenWindowedTest.java: 119-121 Length: 3 local sim: [[sleep]] global sim: [[]] don't waste cpu time, sleep more < try { < Thread.sleep(100); < } catch (InterruptedException inte) { ---- /home/edmund/database-mana/databaseGitHub/lwjgl/src/java/org/lwjgl/test/opengl/pbuffers/PbufferTest.java: 179-181 Length: 3 local sim: [[sleep]] global sim: [[]] don't waste cpu time, sleep more < try { < Thread.sleep(100); < } catch (InterruptedException inte) { ---- /home/edmund/database-mana/databaseGitHub/umongo/src/com/edgytech/umongo/ServerPanel.java: 149-152 Length: 3 local sim: [[sleep]] global sim: [[]] sleep a bit since it takes time for driver to see change < try { < // sleep a bit since it takes time for driver to see change < Thread.sleep(6000); < } catch (InterruptedException ex) { ---- /home/edmund/database-mana/databaseGitHub/crash/shell/src/main/java/org/crsh/text/renderers/ThreadRenderer.java: 77-81 Length: 3 local sim: [[sleep]] global sim: [[]] Sleep 100ms < try { < // Sleep 100ms < Thread.sleep(100); < } < catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/lwjgl/src/java/org/lwjgl/test/input/HWCursorTest.java: 240-242 Length: 3 local sim: [[sleep]] global sim: [[]] don't waste cpu time, sleep more < try { < Thread.sleep(100); < } catch (InterruptedException inte) { ---- /home/edmund/database-mana/databaseGitHub/ps3mediaserver/src/main/java/net/pms/io/PipeIPCProcess.java: 167-169 Length: 3 local sim: [[thread]] global sim: [[]] Allow the threads some time to do their work before running the main thread < try { < Thread.sleep(150); < } catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/hindex/src/examples/thrift/DemoClient.java: 254-256 Length: 3 local sim: [[sleep]] global sim: [[]] sleep to force later timestamp < try { < Thread.sleep(50); < } catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/umongo/src/com/edgytech/umongo/ReplSetPanel.java: 159-162 Length: 3 local sim: [[sleep]] global sim: [[]] sleep a bit since it takes time for driver to see change < try { < // sleep a bit since it takes time for driver to see change < Thread.sleep(6000); < } catch (InterruptedException ex) { ---- /home/edmund/database-mana/databaseGitHub/lwjgl/src/java/org/lwjgl/test/opengles/FullScreenWindowedTest.java: 133-135 Length: 3 local sim: [[sleep]] global sim: [[]] don't waste cpu time, sleep more < try { < Thread.sleep(100); < } catch (InterruptedException inte) { ---- /home/edmund/database-mana/databaseGitHub/lwjgl/src/java/org/lwjgl/test/opengl/PbufferTest.java: 142-144 Length: 3 local sim: [[sleep]] global sim: [[]] don't waste cpu time, sleep more < try { < Thread.sleep(100); < } catch (InterruptedException inte) { ---- /home/edmund/database-mana/databaseGitHub/spring-hadoop/spring-hadoop-core/src/main/java/org/springframework/data/hadoop/fs/FsShell.java: 868-871 Length: 3 local sim: [[sleep]] global sim: [[]] sleep for 10s < try { < // sleep for 10s < Thread.sleep(10000); < } catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/gocd/util/test/com/thoughtworks/go/util/command/StreamPumperTest.java: 113-115 Length: 3 local sim: [[sleep]] global sim: [[]] Sleep a bit. < try { < Thread.sleep(10); < } catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/calabash-android/ruby-gem/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/softkey/PressKey.java: 44-46 Length: 3 local sim: [[sleep]] global sim: [[]] Sleep and try again < try { < Thread.sleep(200); < } catch (InterruptedException interruptedException) { ---- /home/edmund/database-mana/databaseGitHub/voldemort/test/unit/voldemort/store/stats/ClientSocketStatsTest.java: 335-337 Length: 3 local sim: [[sleep]] global sim: [[]] Make it sleep for a second < try { < Thread.sleep(1000); < } catch(InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/hindex/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRolling.java: 225-227 Length: 3 local sim: [[sleep]] global sim: [[]] sleep to let the log roller run (if it needs to) < try { < Thread.sleep(2000); < } catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/ps3mediaserver/src/main/java/net/pms/io/PipeIPCProcess.java: 150-152 Length: 3 local sim: [[thread]] global sim: [[]] Allow the threads some time to do their work before starting the main thread < try { < Thread.sleep(150); < } catch (InterruptedException e) { ---- /home/edmund/database-mana/databaseGitHub/gocd/agent-launcher/src/com/thoughtworks/cruise/agent/launcher/AgentLauncherImpl.java: 89-92 Length: 3 local sim: [[sleep]] global sim: [[]] Sleep a bit so that if there are problems we don't spin < try { < // Sleep a bit so that if there are problems we don't spin < Thread.sleep(1000); < } catch (InterruptedException e) { ---- Comments (size 13): 1. Sleep and try again 2. Sleep a bit. 3. sleep for 10s 4. waiting 100ms for executor thread shutting it's own 5. Make it sleep for a second 6. don't waste cpu time, sleep more 7. Sleep a bit so that if there are problems we don't spin 8. sleep to let the log roller run (if it needs to) 9. Sleep 100ms 10. Allow the threads some time to do their work before running the main thread 11. sleep to force later timestamp 12. sleep a bit since it takes time for driver to see change 13. Allow the threads some time to do their work before starting the main thread ---- Match Group 2 of size 1+1 ---- Ranked Result: ---- Match Group 3 of size 1+77 ---- Ranked Result: ---- Match Group 4 of size 1+3 ---- Ranked Result: ---- Match Group 5 of size 1+1 ---- Ranked Result: ---- Match Group 6 of size 2+4 ---- Ranked Result: ---- Match Group 7 of size 1+1 ---- Ranked Result: ---- Match Group 8 of size 2+2 ---- Ranked Result: ---- Match Group 9 of size 1+1 ---- Ranked Result: ---- Match Group 10 of size 1+1 ---- Ranked Result: ---- Match Group 11 of size 1+1 ---- Ranked Result: ---- Match Group 12 of size 1+2 ---- Ranked Result: ---- Match Group 13 of size 1+1 ---- Ranked Result: ---- Match Group 14 of size 2+1 ---- Ranked Result: ---- Match Group 15 of size 1+27 ---- Ranked Result: ---- Match Group 16 of size 1+2 ---- Ranked Result: ---- Match Group 17 of size 1+2 ---- Ranked Result: ---- Match Group 18 of size 1+15 ---- Ranked Result: ---- Match Group 19 of size 1+19 ---- Ranked Result: ---- Match Group 20 of size 1+38 ---- Ranked Result: ---- Match Group 21 of size 1+7 ---- Ranked Result: ---- Match Group 22 of size 1+7 ---- Ranked Result: ---- Match Group 23 of size 1+26 ---- Ranked Result: ---- Match Group 24 of size 1+44 ---- Ranked Result: ---- Match Group 25 of size 1+105 ---- Ranked Result: 1. (size 3) simple exception handling... ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jpfcodegen/tutorials/basic/src/com/example/Main.java: 44-46 Length: 3 * } catch (Exception e) { * e.printStackTrace(); * System.exit(0); ---- /home/edmund/database-mana/databaseGitHub/lwjgl-basics/test/mdesl/test/shadertut/ShaderLesson6.java: 91-94 Length: 3 local sim: [[exception]] global sim: [[]] simple exception handling... < } catch (Exception e) { < //simple exception handling... < e.printStackTrace(); < System.exit(0); ---- Comments (size 1): 1. simple exception handling... ---- Match Group 26 of size 1+3 ---- Ranked Result: ---- Match Group 27 of size 1+1 ---- Ranked Result: ---- Match Group 28 of size 2+2 ---- Ranked Result: ---- Match Group 29 of size 1+73 ---- Ranked Result: ---- Match Group 30 of size 1+19 ---- Ranked Result: ---- Match Group 31 of size 1+2 ---- Ranked Result: ---- Match Group 32 of size 1+13 ---- Ranked Result: ---- Match Group 33 of size 1+9 ---- Ranked Result: 1. (size 16) swallow exceptions on close so we don't override any exceptions that happened in the loop ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/util/TBuildInfo.java: 114-118 Length: 3 * try * { * input.close() ; * } * catch ( Exception e ) ---- /home/edmund/database-mana/databaseGitHub/lucene-solr/solr/core/src/java/org/apache/solr/search/function/FileFloatSource.java: 321-321 Length: 3 local sim: [[close]] global sim: [[]] swallow exceptions on close so we don't override any exceptions that happened in the loop < try{r.close();}catch(Exception e){} ---- Comments (size 1): 1. swallow exceptions on close so we don't override any exceptions that happened in the loop ---- Match Group 34 of size 3+2 ---- Ranked Result: ---- Match Group 35 of size 1+1 ---- Ranked Result: ---- Match Group 36 of size 1+2 ---- Ranked Result: ---- Match Group 37 of size 1+24 ---- Ranked Result: 1. (size 3) Decode the path. ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/Util.java: 951-953 Length: 3 * try { * link = URLDecoder.decode(link, "UTF-8"); * } catch (UnsupportedEncodingException e) { ---- /home/edmund/database-mana/databaseGitHub/netty/example/src/main/java/io/netty/example/http/file/HttpStaticFileServerHandler.java: 237-239 Length: 3 local sim: [[decode]] global sim: [[]] Decode the path. < try { < uri = URLDecoder.decode(uri, "UTF-8"); < } catch (UnsupportedEncodingException e) { ---- Comments (size 1): 1. Decode the path. ---- Match Group 38 of size 1+18 ---- Ranked Result: 1. (size 9) Try to close input stream if we have one. ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/GUIGlobals.java: 363-365 Length: 3 * try { * if (in != null) in.close(); * } catch (IOException ex) { ---- /home/edmund/database-mana/databaseGitHub/spring-roo/bootstrap/src/main/java/org/springframework/roo/bootstrap/Main.java: 536-540 Length: 3 local sim: [[close]] global sim: [[input, stream]] Try to close input stream if we have one. < try < { < if (is != null) is.close(); < } < catch (IOException ex2) ---- Comments (size 1): 1. Try to close input stream if we have one. ---- Match Group 39 of size 2+5 ---- Ranked Result: ---- Match Group 40 of size 1+5 ---- Ranked Result: ---- Match Group 41 of size 1+15 ---- Ranked Result: ---- Match Group 42 of size 9+11 ---- Ranked Result: ---- Match Group 43 of size 1+4 ---- Ranked Result: ---- Match Group 44 of size 2+1 ---- Ranked Result: ---- Match Group 45 of size 1+10 ---- Ranked Result: ---- Match Group 46 of size 1+20 ---- Ranked Result: 1. (size 2) Just append ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/export/layout/format/WrapFileLinks.java: 249-250 Length: 3 * sb.append(c); * } else { ---- /home/edmund/database-mana/databaseGitHub/docx4j/src/docx4j-extras/jcr/org/docx4j/JcrNodeMapper/ISO9075.java: 99-105 Length: 3 local sim: [[append]] global sim: [[]] Just append < { < // Just append < builder.append(c); < } < } < else < { ---- Comments (size 1): 1. Just append ---- Match Group 47 of size 1+3 ---- Ranked Result: ---- Match Group 48 of size 1+6 ---- Ranked Result: ---- Match Group 49 of size 1+6 ---- Ranked Result: ---- Match Group 50 of size 3+52 ---- Ranked Result: ---- Match Group 51 of size 1+27 ---- Ranked Result: ---- Match Group 52 of size 1+4 ---- Ranked Result: ---- Match Group 53 of size 2+15 ---- Ranked Result: ---- Match Group 54 of size 1+1 ---- Ranked Result: ---- Match Group 55 of size 2+23 ---- Ranked Result: ---- Match Group 56 of size 1+1 ---- Ranked Result: ---- Match Group 57 of size 2+6 ---- Ranked Result: ---- Match Group 58 of size 1+3 ---- Ranked Result: 1. (size 8) open the stream and put it into BufferedReader ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/plugins/net.sf.jabref.imports.acm1/src/net/sf/jabref/imports/ACMFetcher.java: 390-393 Length: 3 Get the response * BufferedReader rd = new BufferedReader(new InputStreamReader(conn * .getInputStream())); * String line; * while ((line = rd.readLine()) != null) { ---- /home/edmund/database-mana/databaseGitHub/voltdb/src/frontend/org/voltdb/utils/SQLCommand.java: 1529-1533 Length: 3 local sim: [[stream, reader, buffered]] global sim: [[open]] [BufferedReader] open the stream and put it into BufferedReader < BufferedReader br = new BufferedReader( < new InputStreamReader(conn.getInputStream())); < < String inputLine; < while ((inputLine = br.readLine()) != null) { ---- Comments (size 1): 1. open the stream and put it into BufferedReader ---- Match Group 59 of size 1+2 ---- Ranked Result: ---- Match Group 60 of size 2+5 ---- Ranked Result: ---- Match Group 61 of size 1+4 ---- Ranked Result: ---- Match Group 62 of size 1+3 ---- Ranked Result: ---- Match Group 63 of size 1+1 ---- Ranked Result: ---- Match Group 64 of size 1+1 ---- Ranked Result: ---- Match Group 65 of size 2+1 ---- Ranked Result: ---- Match Group 66 of size 1+1 ---- Ranked Result: ---- Match Group 67 of size 1+7 ---- Ranked Result: ---- Match Group 68 of size 1+7 ---- Ranked Result: ---- Match Group 69 of size 1+3 ---- Ranked Result: ---- Match Group 70 of size 1+1 ---- Ranked Result: ---- Match Group 71 of size 1+13 ---- Ranked Result: ---- Match Group 72 of size 1+16 ---- Ranked Result: ---- Match Group 73 of size 1+1 ---- Ranked Result: ---- Match Group 74 of size 2+14 ---- Ranked Result: ---- Match Group 75 of size 3+8 ---- Ranked Result: ---- Match Group 76 of size 3+1 ---- Ranked Result: ---- Match Group 77 of size 2+25 ---- Ranked Result: ---- Match Group 78 of size 1+13 ---- Ranked Result: ---- Match Group 79 of size 1+6 ---- Ranked Result: ---- Match Group 80 of size 2+51 ---- Ranked Result: ---- Match Group 81 of size 2+97 ---- Ranked Result: ---- Match Group 82 of size 1+5 ---- Ranked Result: ---- Match Group 83 of size 1+13 ---- Ranked Result: ---- Match Group 84 of size 1+1 ---- Ranked Result: ---- Match Group 85 of size 1+5 ---- Ranked Result: ---- Match Group 86 of size 1+19 ---- Ranked Result: ---- Match Group 87 of size 1+3 ---- Ranked Result: ---- Match Group 88 of size 1+3 ---- Ranked Result: ---- Match Group 89 of size 6+4 ---- Ranked Result: ---- Match Group 90 of size 1+4 ---- Ranked Result: ---- Match Group 91 of size 1+8 ---- Ranked Result: ---- Match Group 92 of size 1+17 ---- Ranked Result: ---- Match Group 93 of size 1+7 ---- Ranked Result: ---- Match Group 94 of size 4+6 ---- Ranked Result: ---- Match Group 95 of size 4+8 ---- Ranked Result: ---- Match Group 96 of size 1+1 ---- Ranked Result: ---- Match Group 97 of size 2+11 ---- Ranked Result: ---- Match Group 98 of size 1+5 ---- Ranked Result: ---- Match Group 99 of size 1+28 ---- Ranked Result: ---- Match Group 100 of size 1+3 ---- Ranked Result: ---- Match Group 101 of size 1+2 ---- Ranked Result: ---- Match Group 102 of size 1+1 ---- Ranked Result: ---- Match Group 103 of size 1+1 ---- Ranked Result: ---- Match Group 104 of size 2+2 ---- Ranked Result: ---- Match Group 105 of size 3+1 ---- Ranked Result: ---- Match Group 106 of size 9+292 ---- Ranked Result: ---- Match Group 107 of size 2+29 ---- Ranked Result: ---- Match Group 108 of size 1+2 ---- Ranked Result: ---- Match Group 109 of size 1+5 ---- Ranked Result: ---- Match Group 110 of size 1+2 ---- Ranked Result: ---- Match Group 111 of size 1+2 ---- Ranked Result: ---- Match Group 112 of size 1+1 ---- Ranked Result: 1. (size 3) Decode the path. ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/Util.java: 951-961 Length: 4 Fix for: [ 1574773 ] sanitizeUrl() breaks ftp:// and file:/// http://sourceforge.net/tracker/index.php?func=detail&aid=1574773&group_id=92314&atid=600306 * try { * link = URLDecoder.decode(link, "UTF-8"); * } catch (UnsupportedEncodingException e) { * } * * /** * * Fix for: [ 1574773 ] sanitizeUrl() breaks ftp:// and file:/// * * * * http://sourceforge.net/tracker/index.php?func=detail&aid=1574773&group_id=92314&atid=600306 * */ * try { ---- /home/edmund/database-mana/databaseGitHub/netty-learning/netty-3.7/src/main/java/org/jboss/netty/example/http/file/HttpStaticFileServerHandler.java: 215-218 Length: 4 local sim: [[decode]] global sim: [[]] Decode the path. < try { < uri = URLDecoder.decode(uri, "UTF-8"); < } catch (UnsupportedEncodingException e) { < try { ---- Comments (size 1): 1. Decode the path. ---- Match Group 113 of size 1+14 ---- Ranked Result: ---- Match Group 114 of size 1+1 ---- Ranked Result: ---- Match Group 115 of size 1+2 ---- Ranked Result: ---- Match Group 116 of size 1+6 ---- Ranked Result: ---- Match Group 117 of size 1+4 ---- Ranked Result: ---- Match Group 118 of size 1+6 ---- Ranked Result: ---- Match Group 119 of size 1+19 ---- Ranked Result: ---- Match Group 120 of size 1+2 ---- Ranked Result: ---- Match Group 121 of size 1+1 ---- Ranked Result: ---- Match Group 122 of size 1+1 ---- Ranked Result: ---- Match Group 123 of size 1+1 ---- Ranked Result: ---- Match Group 124 of size 1+6 ---- Ranked Result: 1. (size 3) Read the stream... ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/export/ExportToClipboardAction.java: 126-128 Length: 3 * int s; * while ((s = reader.read()) != -1) { * sb.append((char)s); ---- /home/edmund/database-mana/databaseGitHub/mongoadmin/yuicompressor-2.4.7/src/com/yahoo/platform/yui/compressor/CssCompressor.java: 26-28 Length: 3 local sim: [[read]] global sim: [[]] Read the stream... < int c; < while ((c = in.read()) != -1) { < srcsb.append((char) c); ---- /home/edmund/database-mana/databaseGitHub/yuicompressor/src/com/yahoo/platform/yui/compressor/CssCompressor.java: 27-29 Length: 3 local sim: [[read]] global sim: [[]] Read the stream... < int c; < while ((c = in.read()) != -1) { < srcsb.append((char) c); ---- /home/edmund/database-mana/databaseGitHub/wro4j/wro4j-core/src/main/java/ro/isdc/wro/model/resource/processor/support/CssCompressor.java: 66-68 Length: 3 local sim: [[read]] global sim: [[]] Read the stream... < int c; < while ((c = in.read()) != -1) { < srcsb.append((char)c); ---- /home/edmund/database-mana/databaseGitHub/pad/infrastructure/yuicompressor/src/com/yahoo/platform/yui/compressor/CssCompressor.java: 25-27 Length: 3 local sim: [[read]] global sim: [[]] Read the stream... < int c; < while ((c = in.read()) != -1) { < srcsb.append((char) c); ---- /home/edmund/database-mana/databaseGitHub/wro4j/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/support/yui/YuiCssCompressor.java: 26-28 Length: 3 local sim: [[read]] global sim: [[]] Read the stream... < int c; < while ((c = in.read()) != -1) { < srcsb.append((char) c); ---- Comments (size 1): 1. Read the stream... ---- Match Group 125 of size 3+1 ---- Ranked Result: ---- Match Group 126 of size 1+1 ---- Ranked Result: 1. (size 8) Parser with specified options can't be built ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/util/TXMLReader.java: 75-81 Length: 4 * catch ( ParserConfigurationException pce ) * { * pce.printStackTrace() ; * } * catch ( IOException ioe ) * { * ioe.printStackTrace() ; ---- /home/edmund/database-mana/databaseGitHub/hadoop-20/src/contrib/vaidya/src/java/org/apache/hadoop/vaidya/util/XMLUtils.java: 188-193 Length: 4 local sim: [[parser]] global sim: [[]] Parser with specified options can't be built < } catch (ParserConfigurationException pce) { < // Parser with specified options can't be built < pce.printStackTrace(); < } catch (IOException ioe) { < // I/O error < ioe.printStackTrace(); ---- Comments (size 1): 1. Parser with specified options can't be built ---- Match Group 127 of size 1+6 ---- Ranked Result: ---- Match Group 128 of size 1+14 ---- Ranked Result: ---- Match Group 129 of size 1+1 ---- Ranked Result: ---- Match Group 130 of size 1+2 ---- Ranked Result: ---- Match Group 131 of size 1+2 ---- Ranked Result: ---- Match Group 132 of size 1+1 ---- Ranked Result: ---- Match Group 133 of size 1+1 ---- Ranked Result: ---- Match Group 134 of size 2+7 ---- Ranked Result: ---- Match Group 135 of size 1+1 ---- Ranked Result: ---- Match Group 136 of size 3+2 ---- Ranked Result: ---- Match Group 137 of size 1+1 ---- Ranked Result: ---- Match Group 138 of size 2+1 ---- Ranked Result: ---- Match Group 139 of size 2+3 ---- Ranked Result: ---- Match Group 140 of size 1+2 ---- Ranked Result: ---- Match Group 141 of size 1+5 ---- Ranked Result: 1. (size 3) Read the stream... ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/oo/OOBibStyle.java: 186-188 Length: 3 * int c; * while ((c = in.read()) != -1) { * sb.append((char)c); ---- /home/edmund/database-mana/databaseGitHub/mongoadmin/yuicompressor-2.4.7/src/com/yahoo/platform/yui/compressor/CssCompressor.java: 26-28 Length: 3 local sim: [[read]] global sim: [[]] Read the stream... < int c; < while ((c = in.read()) != -1) { < srcsb.append((char) c); ---- /home/edmund/database-mana/databaseGitHub/yuicompressor/src/com/yahoo/platform/yui/compressor/CssCompressor.java: 27-29 Length: 3 local sim: [[read]] global sim: [[]] Read the stream... < int c; < while ((c = in.read()) != -1) { < srcsb.append((char) c); ---- /home/edmund/database-mana/databaseGitHub/wro4j/wro4j-core/src/main/java/ro/isdc/wro/model/resource/processor/support/CssCompressor.java: 66-68 Length: 3 local sim: [[read]] global sim: [[]] Read the stream... < int c; < while ((c = in.read()) != -1) { < srcsb.append((char)c); ---- /home/edmund/database-mana/databaseGitHub/pad/infrastructure/yuicompressor/src/com/yahoo/platform/yui/compressor/CssCompressor.java: 25-27 Length: 3 local sim: [[read]] global sim: [[]] Read the stream... < int c; < while ((c = in.read()) != -1) { < srcsb.append((char) c); ---- /home/edmund/database-mana/databaseGitHub/wro4j/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/support/yui/YuiCssCompressor.java: 26-28 Length: 3 local sim: [[read]] global sim: [[]] Read the stream... < int c; < while ((c = in.read()) != -1) { < srcsb.append((char) c); ---- Comments (size 1): 1. Read the stream... ---- Match Group 142 of size 1+2 ---- Ranked Result: ---- Match Group 143 of size 1+1 ---- Ranked Result: ---- Match Group 144 of size 1+2 ---- Ranked Result: ---- Match Group 145 of size 1+1 ---- Ranked Result: ---- Match Group 146 of size 2+2 ---- Ranked Result: ---- Match Group 147 of size 1+4 ---- Ranked Result: ---- Match Group 148 of size 1+5 ---- Ranked Result: ---- Match Group 149 of size 1+3 ---- Ranked Result: ---- Match Group 150 of size 1+1 ---- Ranked Result: ---- Match Group 151 of size 2+3 ---- Ranked Result: ---- Match Group 152 of size 1+1 ---- Ranked Result: ---- Match Group 153 of size 1+1 ---- Ranked Result: ---- Match Group 154 of size 1+1 ---- Ranked Result: ---- Match Group 155 of size 1+1 ---- Ranked Result: ---- Match Group 156 of size 1+2 ---- Ranked Result: ---- Match Group 157 of size 1+1 ---- Ranked Result: ---- Match Group 158 of size 2+4 ---- Ranked Result: ---- Match Group 159 of size 1+1 ---- Ranked Result: ---- Match Group 160 of size 1+1 ---- Ranked Result: ---- Match Group 161 of size 2+9 ---- Ranked Result: ---- Match Group 162 of size 1+3 ---- Ranked Result: 1. (size 4) clear the backing store ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/JabRefPreferences.java: 929-931 Length: 3 * try { * pre.clear(); // We remove all old entries. * } catch (BackingStoreException ex) { ---- /home/edmund/database-mana/databaseGitHub/gephi/modules/AppearancePluginUI/src/main/java/org/gephi/ui/appearance/plugin/RecentPalettes.java: 97-99 Length: 3 local sim: [[backing, clear, store]] global sim: [[]] clear the backing store < try { < prefs.clear(); < } catch (BackingStoreException ex) { ---- /home/edmund/database-mana/databaseGitHub/gephi/modules/MostRecentFilesAPI/src/main/java/org/gephi/desktop/mrufiles/impl/MostRecentFilesImpl.java: 113-115 Length: 3 local sim: [[backing, clear, store]] global sim: [[]] clear the backing store < try { < prefs.clear(); < } catch (BackingStoreException ex) { ---- /home/edmund/database-mana/databaseGitHub/gephi/modules/RankingPluginUI/src/main/java/org/gephi/ui/ranking/plugin/RecentPalettes.java: 97-99 Length: 3 local sim: [[backing, clear, store]] global sim: [[]] clear the backing store < try { < prefs.clear(); < } catch (BackingStoreException ex) { ---- Comments (size 1): 1. clear the backing store ---- Match Group 163 of size 2+1 ---- Ranked Result: ---- Match Group 164 of size 1+1 ---- Ranked Result: 1. (size 5) Finish creation of gzip file ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/spl/Tools.java: 37-39 Length: 3 * out.finish(); * out.close(); * bos.close(); ---- /home/edmund/database-mana/databaseGitHub/eureka/eureka-core/src/main/java/com/netflix/eureka/resources/ResponseCache.java: 558-560 Length: 3 local sim: [[finish]] global sim: [[gzip]] Finish creation of gzip file < out.finish(); < out.close(); < bos.close(); ---- Comments (size 1): 1. Finish creation of gzip file ---- Match Group 165 of size 2+8 ---- Ranked Result: 1. (size 9) bother with any special processing, just append this character ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/gui/FileListTableModel.java: 157-158 Length: 3 * else sb.append(c); * escaped = false; ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/Util.java: 2848-2849 Length: 3 * else sb.append(c); * escaped = false; ---- /home/edmund/database-mana/databaseGitHub/jersey/core-common/src/main/java/org/glassfish/jersey/message/internal/GrammarUtil.java: 247-252 Length: 3 local sim: [[append]] global sim: [[]] bother with any special processing, just append this character < } else { < // Previous character was '\'. So no need to < // bother with any special processing, just < // append this character < sb.append(c); < gotEscape = false; ---- Comments (size 1): 1. bother with any special processing, just append this character ---- Match Group 166 of size 1+5 ---- Ranked Result: ---- Match Group 167 of size 4+1 ---- Ranked Result: ---- Match Group 168 of size 2+1 ---- Ranked Result: ---- Match Group 169 of size 10+24 ---- Ranked Result: ---- Match Group 170 of size 4+3 ---- Ranked Result: ---- Match Group 171 of size 2+4 ---- Ranked Result: 1. (size 8) Implementation of actionPerformed. @param e the ActionEvent triggered ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/gui/FieldSetComponent.java: 310-313 Length: 3 * public void actionPerformed(ActionEvent e) { * Object src = e.getSource(); * * if (src == add) { ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/wizard/integrity/gui/IntegrityMessagePanel.java: 176-179 Length: 3 * public void actionPerformed( ActionEvent e ) * { * Object obj = e.getSource() ; * if (obj == applyButton) ---- /home/edmund/database-mana/databaseGitHub/jitsi/src/net/java/sip/communicator/impl/googlecontacts/configform/AccountSettingsForm.java: 222-231 Length: 3 local sim: [[action, event, performed]] global sim: [[]] [actionPerformed, ActionEvent] Implementation of actionPerformed. @param e the ActionEvent triggered < /** < * Implementation of actionPerformed. < * < * @param e the ActionEvent triggered < */ < public void actionPerformed(ActionEvent e) < { < Object src = e.getSource(); < < if(src == saveBtn) ---- Comments (size 1): 1. Implementation of actionPerformed. @param e the ActionEvent triggered ---- Match Group 172 of size 3+3 ---- Ranked Result: ---- Match Group 173 of size 6+9 ---- Ranked Result: ---- Match Group 174 of size 1+3 ---- Ranked Result: ---- Match Group 175 of size 1+1 ---- Ranked Result: ---- Match Group 176 of size 1+12 ---- Ranked Result: ---- Match Group 177 of size 2+6 ---- Ranked Result: ---- Match Group 178 of size 1+1 ---- Ranked Result: ---- Match Group 179 of size 1+1 ---- Ranked Result: ---- Match Group 180 of size 1+2 ---- Ranked Result: ---- Match Group 181 of size 1+1 ---- Ranked Result: ---- Match Group 182 of size 1+2 ---- Ranked Result: ---- Match Group 183 of size 2+22 ---- Ranked Result: ---- Match Group 184 of size 1+1 ---- Ranked Result: ---- Match Group 185 of size 1+2 ---- Ranked Result: ---- Match Group 186 of size 4+1 ---- Ranked Result: ---- Match Group 187 of size 4+5 ---- Ranked Result: ---- Match Group 188 of size 3+3 ---- Ranked Result: ---- Match Group 189 of size 1+1 ---- Ranked Result: ---- Match Group 190 of size 1+1 ---- Ranked Result: ---- Match Group 191 of size 1+3 ---- Ranked Result: ---- Match Group 192 of size 1+1 ---- Ranked Result: ---- Match Group 193 of size 4+2 ---- Ranked Result: ---- Match Group 194 of size 1+1 ---- Ranked Result: ---- Match Group 195 of size 1+1 ---- Ranked Result: ---- Match Group 196 of size 1+1 ---- Ranked Result: ---- Match Group 197 of size 1+1 ---- Ranked Result: ---- Match Group 198 of size 5+5 ---- Ranked Result: ---- Match Group 199 of size 1+10 ---- Ranked Result: 1. (size 5) try parsing as a number ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/plugins/net.sf.jabref.imports.acm1/src/net/sf/jabref/imports/ACMFetcher.java: 170-173 Length: 3 * try { * int h = Integer.parseInt(t); * return h > 200 ? 200 : h; * } catch (NumberFormatException e) { ---- /home/edmund/database-mana/databaseGitHub/mdrill/trunk/adhoc-internal/src/main/java/weka/classifiers/timeseries/core/CustomPeriodicTest.java: 869-872 Length: 3 local sim: [[number]] global sim: [[]] try parsing as a number < try { < int result = Integer.parseInt(day); < return result; < } catch (NumberFormatException e) {} ---- /home/edmund/database-mana/databaseGitHub/mdrill/trunk/adhoc-internal/src/main/java/weka/classifiers/timeseries/core/CustomPeriodicTest.java: 913-916 Length: 3 local sim: [[number]] global sim: [[]] try parsing as a number < try { < int result = Integer.parseInt(month); < return result; < } catch (NumberFormatException e) {} ---- Comments (size 1): 1. try parsing as a number ---- Match Group 200 of size 1+1 ---- Ranked Result: ---- Match Group 201 of size 1+1 ---- Ranked Result: ---- Match Group 202 of size 1+1 ---- Ranked Result: ---- Match Group 203 of size 1+1 ---- Ranked Result: 1. (size 24) Notify method splash that the window has been painted. Note: To improve performance we do not enter the synchronized block unless we have to. ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/SplashScreen.java: 83-94 Length: 6 Paints the image on the window. Notify method splash that the window has been painted. * /** * * Paints the image on the window. * */ * * public void paint(Graphics g) { * g.drawImage(splashImage, 0, 0, this); * * // Notify method splash that the window * // has been painted. * if (! paintCalled) { * paintCalled = true; * synchronized (this) { notifyAll(); } ---- /home/edmund/database-mana/databaseGitHub/mdrill/trunk/adhoc-internal/src/main/java/weka/gui/SplashWindow.java: 157-168 Length: 6 local sim: [[image], [notify]] global sim: [[], []] Notify method splash that the window has been painted. Note: To improve performance we do not enter the synchronized block unless we have to. < /** < * Paints the image on the window. < */ < public void paint(Graphics g) { < g.drawImage(image, 0, 0, this); < // Notify method splash that the window < // has been painted. < // Note: To improve performance we do not enter < // the synchronized block unless we have to. < if (! paintCalled) { < paintCalled = true; < synchronized (this) { notifyAll(); } ---- Comments (size 1): 1. Notify method splash that the window has been painted. Note: To improve performance we do not enter the synchronized block unless we have to. ---- Match Group 204 of size 3+2 ---- Ranked Result: ---- Match Group 205 of size 1+1 ---- Ranked Result: ---- Match Group 206 of size 3+1 ---- Ranked Result: ---- Match Group 207 of size 5+2 ---- Ranked Result: ---- Match Group 208 of size 1+1 ---- Ranked Result: ---- Match Group 209 of size 2+1 ---- Ranked Result: ---- Match Group 210 of size 1+2 ---- Ranked Result: ---- Match Group 211 of size 2+5 ---- Ranked Result: ---- Match Group 212 of size 1+1 ---- Ranked Result: ---- Match Group 213 of size 1+2 ---- Ranked Result: ---- Match Group 214 of size 1+1 ---- Ranked Result: ---- Match Group 215 of size 1+3 ---- Ranked Result: ---- Match Group 216 of size 1+1 ---- Ranked Result: ---- Match Group 217 of size 2+1 ---- Ranked Result: ---- Match Group 218 of size 1+2 ---- Ranked Result: ---- Match Group 219 of size 1+1 ---- Ranked Result: ---- Match Group 220 of size 2+1 ---- Ranked Result: ---- Match Group 221 of size 1+1 ---- Ranked Result: ---- Match Group 222 of size 1+1 ---- Ranked Result: ---- Match Group 223 of size 1+4 ---- Ranked Result: ---- Match Group 224 of size 1+1 ---- Ranked Result: ---- Match Group 225 of size 1+1 ---- Ranked Result: ---- Match Group 226 of size 2+4 ---- Ranked Result: ---- Match Group 227 of size 1+3 ---- Ranked Result: ---- Match Group 228 of size 1+2 ---- Ranked Result: ---- Match Group 229 of size 1+1 ---- Ranked Result: ---- Match Group 230 of size 1+1 ---- Ranked Result: ---- Match Group 231 of size 1+1 ---- Ranked Result: ---- Match Group 232 of size 1+1 ---- Ranked Result: ---- Match Group 233 of size 1+3 ---- Ranked Result: ---- Match Group 234 of size 1+1 ---- Ranked Result: ---- Match Group 235 of size 1+1 ---- Ranked Result: ---- Match Group 236 of size 1+1 ---- Ranked Result: ---- Match Group 237 of size 1+2 ---- Ranked Result: ---- Match Group 238 of size 1+8 ---- Ranked Result: ---- Match Group 239 of size 1+3 ---- Ranked Result: ---- Match Group 240 of size 1+2 ---- Ranked Result: ---- Match Group 241 of size 1+1 ---- Ranked Result: ---- Match Group 242 of size 1+1 ---- Ranked Result: ---- Match Group 243 of size 1+2 ---- Ranked Result: ---- Match Group 244 of size 1+2 ---- Ranked Result: ---- Match Group 245 of size 1+1 ---- Ranked Result: ---- Match Group 246 of size 1+1 ---- Ranked Result: ---- Match Group 247 of size 1+1 ---- Ranked Result: ---- Match Group 248 of size 1+2 ---- Ranked Result: ---- Match Group 249 of size 1+1 ---- Ranked Result: ---- Match Group 250 of size 1+1 ---- Ranked Result: ---- Match Group 251 of size 1+1 ---- Ranked Result: ---- Match Group 252 of size 1+1 ---- Ranked Result: ---- Match Group 253 of size 1+2 ---- Ranked Result: 1. (size 14) check the pattern so we can rely on the pattern being valid at runtime ---- /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/groups/GroupDialog.java: 447-449 Length: 3 * try { * Pattern.compile(s1); * } catch (Exception e) { ---- /home/edmund/database-mana/databaseGitHub/intellij-community/plugins/IntelliLang/intellilang-jps-plugin/src/org/jetbrains/jps/intellilang/instrumentation/PatternInstrumenter.java: 149-152 Length: 3 local sim: [[pattern]] global sim: [[]] check the pattern so we can rely on the pattern being valid at runtime < try { < Pattern.compile(pattern); < } < catch (Exception e) { ---- /home/edmund/database-mana/databaseGitHub/intellij-community/plugins/IntelliLang/java-support/org/intellij/plugins/intelliLang/pattern/compiler/impl/PatternValidationInstrumenter.java: 133-136 Length: 3 local sim: [[pattern]] global sim: [[]] check the pattern so we can rely on the pattern being valid at runtime < try { < Pattern.compile(pattern); < } < catch (Exception e) { ---- Comments (size 1): 1. check the pattern so we can rely on the pattern being valid at runtime ---- Match Group 254 of size 1+2 ---- Ranked Result: ---- Match Group 255 of size 1+1 ---- Ranked Result: ---- Match Group 256 of size 1+1 ---- Ranked Result: ---- Match Group 257 of size 1+1 ---- Ranked Result: ---- Match Group 258 of size 1+1 ---- Ranked Result: ---- Match Group 259 of size 1+1 ---- Ranked Result: ---- Match Group 260 of size 1+1 ---- Ranked Result: ---- Match Group 261 of size 1+1 ---- Ranked Result: ---- Match Group 262 of size 1+2 ---- Ranked Result: ---- Match Group 263 of size 1+1 ---- Ranked Result: ---- Match Group 264 of size 1+1 ---- Ranked Result: ---- Match Group 265 of size 1+1 ---- Ranked Result: ---- Match Group 266 of size 1+1 ---- Ranked Result: ---- Match Group 267 of size 1+1 ---- Ranked Result: ---- Match Group 268 of size 1+1 ---- Ranked Result: ---- Match Group 269 of size 3+1 ---- Ranked Result: ---- Match Group 270 of size 1+1 ---- Ranked Result: ---- Match Group 271 of size 1+1 ---- Ranked Result: ---- Match Group 272 of size 1+1 ---- Ranked Result: ---- Match Group 273 of size 1+1 ---- Ranked Result: ---- Match Group 274 of size 1+2 ---- Ranked Result: ---- Match Group 275 of size 1+1 ---- Ranked Result: ---- Match Group 276 of size 1+1 ---- Ranked Result: ---- Match Group 277 of size 4+1 ---- Ranked Result: ---- Match Group 278 of size 1+1 ---- Ranked Result: ---- Match Group 279 of size 1+1 ---- Ranked Result: ---- Match Group 280 of size 2+3 ---- Ranked Result: ---- Match Group 281 of size 1+1 ---- Ranked Result: ---- Match Group 282 of size 1+1 ---- Ranked Result: ---- Match Group 283 of size 1+1 ---- Ranked Result: ---- Match Group 284 of size 1+2 ---- Ranked Result: ---- Number of internal clones: 1.0 median, 1.1111111111111112 average, 20 total. Number of external clones: 5.5 median, 71.72222222222223 average, 1291 total. InternalMap: {1=16, 2=2} ExternalMap: {1=4, 2=1, 3=2, 4=1, 5=1, 6=1, 8=1, 105=1, 9=1, 10=1, 1070=1, 18=1, 20=1, 24=1} 18 comment groups has a comment Elapsed for 17 minutes Finish @ 07:20:55 AM graceful exit...