Skip to content

Commit

Permalink
fixed warnings
Browse files Browse the repository at this point in the history
- fixed javadoc warnings
- fixed deprecation warning
  • Loading branch information
truj committed Dec 9, 2023
1 parent 6271755 commit eb3724d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 14 deletions.
Binary file modified midica.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/org/midica/Midica.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class Midica {
private static final int VERSION_MINOR = 11;

/** UNIX timestamp of the last commit */
public static final int COMMIT_TIME = 1702127489;
public static final int COMMIT_TIME = 1702142047;

/** Branch name. Automatically changed by precommit.pl */
public static final String BRANCH = "sound-effects";
Expand Down
2 changes: 0 additions & 2 deletions src/org/midica/file/Instrument.java
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,6 @@ public void setOtoQuantity(int quantity) throws ParseException {
/**
* Returns the one-time tremolo value for compact syntax, if set.
* Otherwise, returns null.
*
* @param tremolo one-time tremolo value or null
*/
public String getOtoTremolo() {
return otoTremolo;
Expand Down
2 changes: 0 additions & 2 deletions src/org/midica/file/write/AldaExporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,6 @@ private void createMarker() {

/**
* Returns a barline for the given channel, if needed.
*
* @param channel MIDI channel
*/
private void createBarlineIfNeeded() {

Expand Down
12 changes: 3 additions & 9 deletions src/org/midica/ui/player/RefresherThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class RefresherThread extends Thread {
*
* @param controller Event listener object for the player window.
*/
public RefresherThread( PlayerController controller ) {
public RefresherThread(PlayerController controller) {
this.controller = controller;
}

Expand All @@ -40,17 +40,11 @@ public void run() {
while (isAlive) {
controller.refreshProgressBar();
try {
sleep( WAITING_TIME );
sleep(WAITING_TIME);
}
catch ( InterruptedException e ) {
catch (InterruptedException e) {
}
}
try {
finalize();
}
catch ( Throwable e ) {
e.printStackTrace();
}
}

/**
Expand Down

0 comments on commit eb3724d

Please sign in to comment.