try { commandSemaphore.waitUntilReleased(); } catch (InterruptedException e) { LOG.warning("The thread waiting for the Save Attachment Temporary command was interrupted."); }
if (out != null) { try { out.close(); } catch (IOException ioe) { } }
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/message/command/SaveAttachmentTemporaryCommand.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/message/command/ViewMessageSourceCommand.java
Method name: void waitForCommandToComplete() Method name: void execute(IWorkerStatusController)
Number of AST nodes: 2 Number of AST nodes: 3
1
try {
2
            commandSemaphore.waitUntilRelea
1
if (out != null) {
2
				try {
3
sed();
3
					out.close();
4
        } catch (InterruptedException e) {
4
				} catch (IOException ioe) {
5
            LOG.warning("The thread waiting for the Save Attachment Temporary command was interrupted.");
6
        
5
				}
7
}
6
			}
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 locationClones are in different classes having the same super class
Number of node comparisons0