public boolean isSimulationmode() {
return simulationmode;
}
/**
* -n flag of p4 labelsync - display changes without actually doing them
* @param simulationmode display changes without actually doing them
*/
public void setSimulationmode(boolean simulationmode) {
this.simulationmode = simulationmode;
public boolean isSimulationmode() {
return simulationmode;
}
/**
* sets a flag
* @param simulationmode set to true, lists the integrations which would be performed,
* without actually doing them.
*/
public void setSimulationmode(boolean simulationmode) {
this.simulationmode = simulationmode;
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/perforce/P4Labelsync.java
|
|
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/perforce/P4Resolve.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public boolean isSimulationmode() {↵ | | 1 | public boolean isSimulationmode() {↵
|
2 | return simulationmode;↵ | | 2 | return simulationmode;↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * -n flag of p4 labelsync - display changes without actually doing them↵ | | 5 | * ↵
|
6 | * @param simulationmode display changes↵ | | 6 | sets a flag↵
|
| | | 7 | * @param simulationmode set to true, lists the integrations which would be performed,↵
|
7 | without actually doing them↵ | | 8 | * without actually doing them.↵
|
8 | */↵ | | 9 | */↵
|
9 | public void setSimulationmode(boolean simulationmode) {↵ | | 10 | public void setSimulationmode(boolean simulationmode) {↵
|
10 | this.simulationmode = simulationmode; | | 11 | this.simulationmode = simulationmode;
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |