Match Group 0 of size 4+42 ---- Ranked Result: ---- Match Group 1 of size 5+213 ---- Ranked Result: 1. (size 3) close previous connection ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/j3d/OBJLoader.java: 1607-1609 Length: 3 java.nio.charset.MalformedInputException: Input length = 1 /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/swing/TextureChoiceComponent.java: 786-788 Length: 3 java.nio.charset.MalformedInputException: Input length = 1 /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/j3d/DAELoader.java: 166-168 Length: 3 * try { * in.close(); * } catch (IOException ex) { ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/swing/CatalogItemToolTip.java: 188-190 Length: 3 * try { * iconStream.close(); * } catch (IOException ex) { ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/j3d/DAELoader.java: 661-663 Length: 3 * try { * in.close(); * } catch (IOException ex) { ---- /home/edmund/database-mana/databaseGitHub/hadoop-20/src/hdfs/org/apache/hadoop/hdfs/qjournal/client/URLLogInputStream.java: 102-104 Length: 3 local sim: [[close]] global sim: [[]] close previous connection < try { < fStream.close(); < } catch (IOException e) { ---- Comments (size 1): 1. close previous connection ---- Match Group 2 of size 2+9 ---- Ranked Result: ---- Match Group 3 of size 3+1163 ---- 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/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/swing/ModelPreviewComponent.java: 880-883 Length: 3 Under Mac OS X, sleep an additional time to ensure the screen got refreshed * Thread.sleep(15); * } * } catch (InterruptedException ex) { * ex.printStackTrace(); ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/swing/ModelPreviewComponent.java: 898-901 Length: 3 Under Mac OS X, sleep an additional time to ensure the screen got refreshed * Thread.sleep(15); * } * } catch (InterruptedException ex) { * ex.printStackTrace(); ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/test/com/eteks/sweethome3d/junit/ThreadedTaskControllerTest.java: 108-110 Length: 3 * try { * Thread.sleep(1000); * } 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 4 of size 6+17 ---- Ranked Result: ---- Match Group 5 of size 1+21 ---- Ranked Result: ---- Match Group 6 of size 3+102 ---- Ranked Result: 1. (size 4) windows... close before deleting ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/swing/TextureChoiceComponent.java: 785-788 Length: 4 java.nio.charset.MalformedInputException: Input length = 1 /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/j3d/DAELoader.java: 660-663 Length: 4 * if (in != null) { * try { * in.close(); * } catch (IOException ex) { ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/swing/CatalogItemToolTip.java: 187-190 Length: 4 * if (iconStream != null) { * try { * iconStream.close(); * } catch (IOException ex) { ---- /home/edmund/database-mana/databaseGitHub/Nightweb/common/java/router/net/i2p/router/startup/LoadRouterInfoJob.java: 118-119 Length: 4 local sim: [[close]] global sim: [[]] windows... close before deleting < if (fis1 != null) { < try { fis1.close(); } catch (IOException ioe2) {} ---- /home/edmund/database-mana/databaseGitHub/Nightweb/common/java/router/net/i2p/router/startup/LoadRouterInfoJob.java: 132-133 Length: 4 local sim: [[close]] global sim: [[]] windows... close before deleting < if (fis1 != null) { < try { fis1.close(); } catch (IOException ioe) {} ---- /home/edmund/database-mana/databaseGitHub/Nightweb/common/java/router/net/i2p/router/startup/LoadRouterInfoJob.java: 95-96 Length: 4 local sim: [[close]] global sim: [[]] windows... close before deleting < if (fis1 != null) { < try { fis1.close(); } catch (IOException ioe) {} ---- Comments (size 1): 1. windows... close before deleting ---- Match Group 7 of size 2+4 ---- Ranked Result: ---- Match Group 8 of size 1+1 ---- Ranked Result: ---- Match Group 9 of size 1+19 ---- Ranked Result: 1. (size 5) Make it canonical if possible 2. (size 8) use canonical paths in order to resolve symlinks ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/tools/OperatingSystem.java: 405-407 Length: 3 * try { * canonicalFile = temporaryFolder.getCanonicalFile(); * } catch (IOException e) { ---- /home/edmund/database-mana/databaseGitHub/tomcat/java/org/apache/catalina/core/StandardHost.java: 236-238 Length: 3 local sim: [[canonical]] global sim: [[]] Make it canonical if possible < try { < file = file.getCanonicalFile(); < } catch (IOException ioe) { ---- /home/edmund/database-mana/databaseGitHub/intellij-community/java/compiler/openapi/src/com/intellij/compiler/ant/GenerationUtils.java: 99-103 Length: 3 local sim: [[canonical]] global sim: [[]] use canonical paths in order to resolve symlinks < try { < // use canonical paths in order to resolve symlinks < base = baseDir.getCanonicalFile(); < } < catch (IOException e) { ---- Comments (size 2): 1. use canonical paths in order to resolve symlinks 2. Make it canonical if possible ---- Match Group 10 of size 2+7 ---- Ranked Result: ---- Match Group 11 of size 2+75 ---- Ranked Result: ---- Match Group 12 of size 1+23 ---- Ranked Result: ---- Match Group 13 of size 1+13 ---- Ranked Result: ---- Match Group 14 of size 1+13 ---- Ranked Result: ---- Match Group 15 of size 1+4 ---- Ranked Result: ---- Match Group 16 of size 1+4 ---- Ranked Result: ---- Match Group 17 of size 1+4 ---- Ranked Result: ---- Match Group 18 of size 1+4 ---- Ranked Result: ---- Match Group 19 of size 1+14 ---- Ranked Result: ---- Match Group 20 of size 1+4 ---- Ranked Result: ---- Match Group 21 of size 1+3 ---- Ranked Result: ---- Match Group 22 of size 1+9 ---- Ranked Result: ---- Match Group 23 of size 1+21 ---- Ranked Result: ---- Match Group 24 of size 1+17 ---- Ranked Result: ---- Match Group 25 of size 1+8 ---- Ranked Result: ---- Match Group 26 of size 1+3 ---- Ranked Result: ---- Match Group 27 of size 1+5 ---- Ranked Result: ---- Match Group 28 of size 1+3 ---- Ranked Result: ---- Match Group 29 of size 1+19 ---- Ranked Result: ---- Match Group 30 of size 1+5 ---- Ranked Result: ---- Match Group 31 of size 2+26 ---- Ranked Result: ---- Match Group 32 of size 2+15 ---- Ranked Result: ---- Match Group 33 of size 1+3 ---- Ranked Result: ---- Match Group 34 of size 2+8 ---- Ranked Result: ---- Match Group 35 of size 3+10 ---- Ranked Result: ---- Match Group 36 of size 4+1 ---- Ranked Result: ---- Match Group 37 of size 1+1 ---- Ranked Result: ---- Match Group 38 of size 1+3 ---- Ranked Result: ---- Match Group 39 of size 1+2 ---- Ranked Result: 1. (size 9) default list order doesn't seem to be alpha ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/io/ContentDigestManager.java: 178-181 Length: 3 Sort files to ensure content files are always listed in the same order * File [] siblingFiles = parentFile.listFiles(); * // Sort files to ensure content files are always listed in the same order * Arrays.sort(siblingFiles); * for (File siblingFile : siblingFiles) { ---- /home/edmund/database-mana/databaseGitHub/mobileorg-android/MobileOrg/src/main/java/com/matburt/mobileorg/Settings/DirectoryBrowser.java: 80-83 Length: 3 local sim: [[list]] global sim: [[]] default list order doesn't seem to be alpha < File[] tmpListing = curDirectory.listFiles(); < //default list order doesn't seem to be alpha < Arrays.sort(tmpListing); < for(File dir:tmpListing) { ---- Comments (size 1): 1. default list order doesn't seem to be alpha ---- Match Group 40 of size 1+7 ---- Ranked Result: ---- Match Group 41 of size 1+22 ---- Ranked Result: ---- Match Group 42 of size 1+19 ---- Ranked Result: ---- Match Group 43 of size 1+14 ---- Ranked Result: ---- Match Group 44 of size 1+6 ---- Ranked Result: ---- Match Group 45 of size 1+1 ---- Ranked Result: ---- Match Group 46 of size 2+35 ---- Ranked Result: ---- Match Group 47 of size 1+1 ---- Ranked Result: ---- Match Group 48 of size 1+17 ---- Ranked Result: ---- Match Group 49 of size 1+16 ---- Ranked Result: ---- Match Group 50 of size 1+4 ---- Ranked Result: ---- Match Group 51 of size 1+16 ---- Ranked Result: ---- Match Group 52 of size 1+4 ---- Ranked Result: ---- Match Group 53 of size 1+9 ---- Ranked Result: ---- Match Group 54 of size 1+14 ---- Ranked Result: ---- Match Group 55 of size 1+6 ---- Ranked Result: ---- Match Group 56 of size 1+14 ---- Ranked Result: ---- Match Group 57 of size 1+15 ---- Ranked Result: ---- Match Group 58 of size 1+8 ---- Ranked Result: ---- Match Group 59 of size 5+10 ---- Ranked Result: ---- Match Group 60 of size 1+13 ---- Ranked Result: ---- Match Group 61 of size 1+2 ---- Ranked Result: ---- Match Group 62 of size 1+6 ---- Ranked Result: ---- Match Group 63 of size 1+6 ---- Ranked Result: ---- Match Group 64 of size 1+1 ---- Ranked Result: ---- Match Group 65 of size 1+1 ---- Ranked Result: ---- Match Group 66 of size 2+10 ---- Ranked Result: ---- Match Group 67 of size 1+11 ---- Ranked Result: ---- Match Group 68 of size 5+7 ---- Ranked Result: ---- Match Group 69 of size 2+3 ---- Ranked Result: ---- Match Group 70 of size 1+2 ---- Ranked Result: ---- Match Group 71 of size 1+2 ---- Ranked Result: ---- Match Group 72 of size 1+4 ---- Ranked Result: ---- Match Group 73 of size 1+2 ---- Ranked Result: ---- Match Group 74 of size 1+3 ---- Ranked Result: ---- Match Group 75 of size 1+1 ---- Ranked Result: ---- Match Group 76 of size 1+3 ---- Ranked Result: ---- Match Group 77 of size 1+6 ---- Ranked Result: 1. (size 8) if not loaded, search the local (child) resources 2. (size 9) First, check if the class has already been loaded ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/tools/ExtensionsClassLoader.java: 359-361 Length: 3 Check if the class has already been loaded * Class loadedClass = findLoadedClass(name); * if (loadedClass == null) { * try { ---- /home/edmund/database-mana/databaseGitHub/intellij-community/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/aClassLoader.java: 287-289 Length: 3 local sim: [[loaded, class]] global sim: [[]] First, check if the class has already been loaded < Class c = findLoadedClass(name); < if (c == null) { < try { ---- /home/edmund/database-mana/databaseGitHub/logback/logback-classic/src/test/java/ch/qos/logback/classic/spi/LocalFirstClassLoader.java: 52-56 Length: 3 local sim: [[loaded, class], [loaded]] global sim: [[], [not]] First, check if the class has already been loaded if not loaded, search the local (child) resources < Class c = findLoadedClass(name); < < // if not loaded, search the local (child) resources < if (c == null) { < try { ---- /home/edmund/database-mana/databaseGitHub/intellij-community/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/aClassLoader_hl.java: 287-289 Length: 3 local sim: [[loaded, class]] global sim: [[]] First, check if the class has already been loaded < Class c = findLoadedClass(name); < if (c == null) { < try { ---- /home/edmund/database-mana/databaseGitHub/drools/drools-reteoo/src/test/java/org/drools/reteoo/integrationtests/DynamicRulesTest.java: 1235-1237 Length: 3 local sim: [[loaded, class]] global sim: [[]] First, check if the class has already been loaded < Class c = findLoadedClass( name ); < if ( c == null ) { < try { ---- /home/edmund/database-mana/databaseGitHub/drools/drools-compiler/src/test/java/org/drools/compiler/integrationtests/DynamicRulesTest.java: 1234-1236 Length: 3 local sim: [[loaded, class]] global sim: [[]] First, check if the class has already been loaded < Class c = findLoadedClass( name ); < if ( c == null ) { < try { ---- Comments (size 2): 1. if not loaded, search the local (child) resources 2. First, check if the class has already been loaded ---- Match Group 78 of size 2+10 ---- Ranked Result: ---- Match Group 79 of size 1+5 ---- Ranked Result: ---- Match Group 80 of size 1+2 ---- Ranked Result: ---- Match Group 81 of size 1+6 ---- Ranked Result: ---- Match Group 82 of size 1+1 ---- Ranked Result: ---- Match Group 83 of size 1+5 ---- Ranked Result: ---- Match Group 84 of size 1+3 ---- Ranked Result: ---- Match Group 85 of size 5+1 ---- Ranked Result: 1. (size 6) Wrap the exception and re-throw ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/io/DefaultHomeOutputStream.java: 345-348 Length: 4 * } catch (URISyntaxException ex) { * IOException ex2 = new IOException(); * ex2.initCause(ex); * throw ex2; ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/io/ContentDigestManager.java: 187-190 Length: 4 * } catch (URISyntaxException ex) { * IOException ex2 = new IOException(); * ex2.initCause(ex); * throw ex2; ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/tools/URLContent.java: 68-71 Length: 4 * } catch (URISyntaxException ex) { * IOException ex2 = new IOException(); * ex2.initCause(ex); * throw ex2; ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/io/DefaultHomeOutputStream.java: 199-202 Length: 4 * } catch (URISyntaxException ex) { * IOException ex2 = new IOException(); * ex2.initCause(ex); * throw ex2; ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/j3d/ModelManager.java: 872-875 Length: 4 java.nio.charset.MalformedInputException: Input length = 1 /home/edmund/database-mana/databaseGitHub/tomcat/java/org/apache/tomcat/util/scan/StandardJarScanner.java: 323-327 Length: 4 local sim: [[exception]] global sim: [[]] Wrap the exception and re-throw < } catch (URISyntaxException e) { < // Wrap the exception and re-throw < IOException ioe = new IOException(); < ioe.initCause(e); < throw ioe; ---- Comments (size 1): 1. Wrap the exception and re-throw ---- Match Group 86 of size 1+23 ---- Ranked Result: ---- Match Group 87 of size 1+3 ---- Ranked Result: ---- Match Group 88 of size 4+5 ---- Ranked Result: ---- Match Group 89 of size 5+1 ---- Ranked Result: ---- Match Group 90 of size 1+1 ---- Ranked Result: ---- Match Group 91 of size 2+7 ---- Ranked Result: ---- Match Group 92 of size 1+1 ---- Ranked Result: ---- Match Group 93 of size 1+1 ---- Ranked Result: ---- Match Group 94 of size 1+2 ---- Ranked Result: ---- Match Group 95 of size 1+1 ---- Ranked Result: ---- Match Group 96 of size 1+2 ---- Ranked Result: ---- Match Group 97 of size 1+1 ---- Ranked Result: ---- Match Group 98 of size 1+1 ---- Ranked Result: ---- Match Group 99 of size 4+2 ---- Ranked Result: ---- Match Group 100 of size 1+1 ---- Ranked Result: ---- Match Group 101 of size 1+2 ---- Ranked Result: ---- Match Group 102 of size 2+1 ---- Ranked Result: ---- Match Group 103 of size 1+1 ---- Ranked Result: ---- Match Group 104 of size 2+1 ---- Ranked Result: ---- Match Group 105 of size 1+1 ---- Ranked Result: ---- Match Group 106 of size 1+8 ---- Ranked Result: ---- Match Group 107 of size 2+30 ---- Ranked Result: ---- Match Group 108 of size 1+2 ---- Ranked Result: ---- Match Group 109 of size 1+1 ---- Ranked Result: ---- Match Group 110 of size 1+9 ---- Ranked Result: ---- Match Group 111 of size 1+12 ---- Ranked Result: ---- Match Group 112 of size 1+5 ---- Ranked Result: 1. (size 3) end class Base64 ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/io/Base64.java: 1148-1153 Length: 4 * out.write(b4, 0, len); * position = 0; * } // end if: enough to output * } // end if: meaningful base64 character * else if (decodabet [theByte & 0x7f] != WHITE_SPACE_ENC) { * throw new java.io.IOException("Invalid character in Base64 data."); ---- /home/edmund/database-mana/databaseGitHub/Catacomb-Snatch/src/com/mojang/mojam/tiled/Base64.java: 1307-1314 Length: 4 local sim: [[base64]] global sim: [[]] end class Base64 < out.write( b4, 0, len ); < //out.write( Base64.decode4to3( buffer ) ); < position = 0; < } // end if: enough to output < } // end if: meaningful base64 character < < else if ( DECODABET[ theByte & 0x7f ] != WHITE_SPACE_ENC ) { < throw new java.io.IOException( "Invalid character in Base64 data." ); ---- Comments (size 1): 1. end class Base64 ---- Match Group 113 of size 3+1 ---- Ranked Result: ---- Match Group 114 of size 1+1 ---- Ranked Result: ---- Match Group 115 of size 2+1 ---- Ranked Result: ---- Match Group 116 of size 3+1 ---- Ranked Result: ---- Match Group 117 of size 1+1 ---- Ranked Result: ---- Match Group 118 of size 1+2 ---- Ranked Result: ---- Match Group 119 of size 1+6 ---- Ranked Result: ---- Match Group 120 of size 1+1 ---- Ranked Result: ---- Match Group 121 of size 2+1 ---- Ranked Result: 1. (size 4) close the input stream ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/j3d/OBJWriter.java: 1307-1311 Length: 3 * zipOut.write(buffer, 0, size); * } * zipOut.closeEntry(); * } finally { * if (tempIn != null) { ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/io/DefaultHomeOutputStream.java: 274-278 Length: 3 * zipOut.write(buffer, 0, size); * } * zipOut.closeEntry(); * } finally { * if (contentIn != null) { ---- /home/edmund/database-mana/databaseGitHub/geoserver/src/community/wps-download/src/main/java/org/geoserver/wps/ppio/ZipArchivePPIO.java: 236-241 Length: 3 local sim: [[close]] global sim: [[input, stream]] close the input stream < zipout.write(buffer, 0, c); < } < zipout.closeEntry(); < } finally { < // close the input stream < if (in != null) { ---- Comments (size 1): 1. close the input stream ---- Match Group 122 of size 1+1 ---- Ranked Result: ---- Match Group 123 of size 1+3 ---- Ranked Result: 1. (size 8) Restore reflective handles (which are unfortunately not serializable) ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/io/DefaultPatternTexture.java: 44-49 Length: 3 Initializes transient fields and reads pattern from in stream with default reading method. * /** * * Initializes transient fields and reads pattern from in stream with default reading method. * */ * private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { * in.defaultReadObject(); * try { ---- /home/edmund/database-mana/databaseGitHub/spring-framework/spring-beans/src/main/java/org/springframework/beans/factory/config/DependencyDescriptor.java: 342-347 Length: 3 local sim: [[not]] global sim: [[]] Restore reflective handles (which are unfortunately not serializable) < private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { < // Rely on default serialization; just initialize state after deserialization. < ois.defaultReadObject(); < < // Restore reflective handles (which are unfortunately not serializable) < try { ---- Comments (size 1): 1. Restore reflective handles (which are unfortunately not serializable) ---- Match Group 124 of size 1+2 ---- Ranked Result: ---- Match Group 125 of size 1+4 ---- Ranked Result: ---- Match Group 126 of size 2+1 ---- Ranked Result: ---- Match Group 127 of size 1+1 ---- Ranked Result: ---- Match Group 128 of size 1+1 ---- Ranked Result: ---- Match Group 129 of size 1+1 ---- Ranked Result: ---- Match Group 130 of size 1+1 ---- Ranked Result: ---- Match Group 131 of size 1+1 ---- Ranked Result: ---- Match Group 132 of size 1+1 ---- Ranked Result: ---- Match Group 133 of size 1+1 ---- Ranked Result: 1. (size 3) end class Base64 ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/io/Base64.java: 1144-1149 Length: 5 * buffer [position++] = (byte)theByte; * if (position >= bufferLength) { // Enough to output. * * int len = Base64.decode4to3(buffer, 0, b4, 0, options); * out.write(b4, 0, len); * position = 0; ---- /home/edmund/database-mana/databaseGitHub/sshj/src/main/java/net/schmizz/sshj/common/Base64.java: 436-441 Length: 5 local sim: [[base64]] global sim: [[]] end class Base64 < buffer[position++] = (byte) theByte; < if (position >= bufferLength) { // Enough to output. < < int len = Base64.decode4to3(buffer, 0, b4, 0, options); < out.write(b4, 0, len); < position = 0; ---- Comments (size 1): 1. end class Base64 ---- Match Group 134 of size 1+1 ---- Ranked Result: 1. (size 3) end class Base64 ---- /home/edmund/evaluate_projects/SweetHome3D-4.4-src/src/com/eteks/sweethome3d/io/Base64.java: 1189-1193 Length: 4 * out.write(encode3to4(b4, buffer, position, options)); * position = 0; * } // end if: encoding * else { * throw new java.io.IOException("Base64 input not properly padded."); ---- /home/edmund/database-mana/databaseGitHub/sshj/src/main/java/net/schmizz/sshj/common/Base64.java: 346-350 Length: 4 local sim: [[base64]] global sim: [[]] end class Base64 < out.write(encode3to4(b4, buffer, position, options)); < position = 0; < } // end if: encoding < else < throw new java.io.IOException("Base64 input not properly padded."); ---- Comments (size 1): 1. end class Base64 ---- Match Group 135 of size 2+2 ---- Ranked Result: ---- Match Group 136 of size 2+1 ---- Ranked Result: ---- Match Group 137 of size 2+1 ---- Ranked Result: ---- Match Group 138 of size 1+1 ---- Ranked Result: ---- Match Group 139 of size 1+1 ---- Ranked Result: ---- Match Group 140 of size 2+1 ---- Ranked Result: ---- Match Group 141 of size 1+1 ---- Ranked Result: ---- Match Group 142 of size 1+1 ---- Ranked Result: ---- Match Group 143 of size 1+1 ---- Ranked Result: ---- Match Group 144 of size 1+1 ---- Ranked Result: ---- Number of internal clones: 1.0 median, 2.0833333333333335 average, 25 total. Number of external clones: 4.0 median, 126.41666666666667 average, 1517 total. InternalMap: {1=7, 2=1, 3=2, 5=2} ExternalMap: {1=4, 2=1, 19=1, 3=1, 213=1, 5=1, 102=1, 6=1, 1163=1} 12 comment groups has a comment Elapsed for 18 minutes Finish @ 09:01:19 AM graceful exit...