minor changes

This commit is contained in:
bancika
2012-08-16 09:27:05 +00:00
parent 98c3804529
commit 33d3e03ffb
2 changed files with 3 additions and 3 deletions
@@ -620,7 +620,7 @@ public class Presenter implements IPlugInPort {
} }
this.dragInProgress = true; this.dragInProgress = true;
this.dragAction = dragAction; this.dragAction = dragAction;
preDragProject = cloner.deepClone(currentProject); this.preDragProject = cloner.deepClone(currentProject);
Point scaledPoint = scalePoint(point); Point scaledPoint = scalePoint(point);
this.previousDragPoint = scaledPoint; this.previousDragPoint = scaledPoint;
List<IDIYComponent<?>> components = findComponentsAtScaled(scaledPoint); List<IDIYComponent<?>> components = findComponentsAtScaled(scaledPoint);
@@ -105,7 +105,7 @@ public class ProjectFileManager {
fireFileStatusChanged(); fireFileStatusChanged();
} }
public void serializeProjectToFile(Project project, String fileName, boolean isBackup) public synchronized void serializeProjectToFile(Project project, String fileName, boolean isBackup)
throws IOException { throws IOException {
if (!isBackup) { if (!isBackup) {
LOG.info(String.format("saveProjectToFile(%s)", fileName)); LOG.info(String.format("saveProjectToFile(%s)", fileName));