Skip to content

Commit

Permalink
#431: removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
dbenn committed Jun 21, 2024
1 parent 4b82dcb commit e865cc7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
18 changes: 0 additions & 18 deletions src/org/aavso/tools/vstar/ui/mediator/DocumentManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -403,24 +403,6 @@ public boolean canBeRemoved() {
};
}

/**
* Return a new star listener that initialises the maps.
* TODO: prob don't need this now!
*/
// public Listener<NewStarMessage> createNewStarListener() {
// return new Listener<NewStarMessage>() {
// @Override
// public void update(NewStarMessage info) {
// init();
// }
//
// @Override
// public boolean canBeRemoved() {
// return false;
// }
// };
// }

/**
* Find and return the active window or null if one does not exist, e.g. the
* case where the UI is that of an applet.
Expand Down
1 change: 0 additions & 1 deletion src/org/aavso/tools/vstar/ui/mediator/Mediator.java
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,6 @@ public DocumentManager getDocumentManager() {
if (documentManager == null) {
documentManager = new DocumentManager();
phaseChangeNotifier.addListener(documentManager.createPhaseChangeListener(), true);
// newStarNotifier.addListener(documentManager.createNewStarListener(), true);
}

return documentManager;
Expand Down

0 comments on commit e865cc7

Please sign in to comment.