Commit 1c4bd90224ff7a1f725446afe84e7b748d7355a1

Authored by Paulo Graça
1 parent 7308b713d5
Exists in tests

PG: maintester refactor

ptcrisync/src/main/MainTester.java
... ... @@ -48,22 +48,18 @@ public class MainTester implements ProgressHandler {
48 48 List<Work> worksToUpdate = PTCRISync.importUpdates(client, works, progressHandler);
49 49 }
50 50  
51   - @Override
52 51 public void setProgress(int progress) {
53 52 logger.fine("Current progress: " + progress + "%");
54 53 }
55 54  
56   - @Override
57 55 public void setCurrentStatus(String message) {
58 56 logger.fine("Task: " + message);
59 57 }
60 58  
61   - @Override
62 59 public void sendError(String message) {
63 60 logger.log(Level.SEVERE, "ERROR: " + message);
64 61 }
65 62  
66   - @Override
67 63 public void done() {
68 64 logger.fine("Done.");
69 65 }
... ...
ptcrisync/src/main/MainTester2.java
... ... @@ -61,22 +61,19 @@ public class MainTester2 implements ProgressHandler {
61 61 progressHandler.done();
62 62 }
63 63  
64   - @Override
  64 +
65 65 public void setProgress(int progress) {
66 66 logger.fine("Current progress: " + progress + "%");
67 67 }
68 68  
69   - @Override
70 69 public void setCurrentStatus(String message) {
71 70 logger.fine("Task: " + message);
72 71 }
73 72  
74   - @Override
75 73 public void sendError(String message) {
76 74 logger.log(Level.SEVERE, "ERROR: " + message);
77 75 }
78 76  
79   - @Override
80 77 public void done() {
81 78 logger.fine("Done.");
82 79 }
... ...