while (bsLiveShadow < 1) { final int thech = inShadow.read(); if (thech >= 0) { bsBuffShadow = (bsBuffShadow << 8) | thech; bsLiveShadow += 8; continue; } else { throw new IOException("unexpected end of stream");
while (bsLiveShadow < 1) { final int thech = inShadow.read(); if (thech >= 0) { bsBuffShadow = (bsBuffShadow << 8) | thech; bsLiveShadow += 8; continue; } else { throw new IOException("unexpected end of stream");
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/bzip2/CBZip2InputStream.java File path: /apache-ant-1.7.0/src/org/apache/tools/bzip2/CBZip2InputStream.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
while (bsLiveShadow < 1) {
1
while (bsLiveShadow < 1) {
2
                        final int thech = inShadow.read();
2
                final int thech = inShadow.read();
3
        
4
                if (thech >= 0) {
3
                if (thech >= 0) {
5
                            bsBuffShadow = (bsBuffShadow << 8) | thech;
4
                    bsBuffShadow = (bsBuffShadow << 8) | thech;
6
                            bsLiveShadow += 8;
5
                    bsLiveShadow += 8;
7
                            continue;
6
                    continue;
8
                        } else {
7
                } else {
9
                            throw new IOException("unexpected end of stream");
8
                    throw new IOException("unexpected end of stream");
10
                        
9
                
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0