Skip to content

Commit

Permalink
Fix packages (#12)
Browse files Browse the repository at this point in the history
* Fix packages
  • Loading branch information
Nianna authored Jun 4, 2023
1 parent 8cf2dff commit 480ff33
Show file tree
Hide file tree
Showing 293 changed files with 1,144 additions and 1,215 deletions.
27 changes: 0 additions & 27 deletions .classpath

This file was deleted.

29 changes: 0 additions & 29 deletions .project

This file was deleted.

19 changes: 2 additions & 17 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,6 @@
<artifactId>Karedi</artifactId>
<version>1.2.1</version>
<build>
<sourceDirectory>src</sourceDirectory>
<resources>
<resource>
<directory>src</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/resources/com/github/nianna/karedi</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
Expand All @@ -36,7 +21,7 @@
<configuration>
<archive>
<manifest>
<mainClass>main.java.com.github.nianna.karedi.KarediApp</mainClass>
<mainClass>com.github.nianna.karedi.KarediApp</mainClass>
</manifest>
</archive>
</configuration>
Expand All @@ -47,7 +32,7 @@
<configuration>
<archive>
<manifest>
<mainClass>main.java.com.github.nianna.karedi.KarediApp</mainClass>
<mainClass>com.github.nianna.karedi.KarediApp</mainClass>
</manifest>
</archive>
<descriptorRefs>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/github/nianna/karedi/I18N.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi;
package com.github.nianna.karedi;

import java.text.MessageFormat;
import java.util.ArrayList;
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/com/github/nianna/karedi/KarediApp.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi;
package com.github.nianna.karedi;

import java.io.File;
import java.io.IOException;
Expand All @@ -22,10 +22,10 @@
import javafx.stage.FileChooser;
import javafx.stage.FileChooser.ExtensionFilter;
import javafx.stage.Stage;
import main.java.com.github.nianna.karedi.action.KarediActions;
import main.java.com.github.nianna.karedi.context.AppContext;
import main.java.com.github.nianna.karedi.controller.RootController;
import main.java.com.github.nianna.karedi.dialog.SaveChangesAlert;
import com.github.nianna.karedi.action.KarediActions;
import com.github.nianna.karedi.context.AppContext;
import com.github.nianna.karedi.controller.RootController;
import com.github.nianna.karedi.dialog.SaveChangesAlert;

public class KarediApp extends Application {
private final static String APP_NAME = "Karedi";
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/github/nianna/karedi/Settings.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main.java.com.github.nianna.karedi;
package com.github.nianna.karedi;

import javafx.scene.paint.Color;
import main.java.com.github.nianna.karedi.util.ColorUtils;
import com.github.nianna.karedi.util.ColorUtils;

import java.util.List;
import java.util.Locale;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.action;
package com.github.nianna.karedi.action;

import java.util.HashMap;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.action;
package com.github.nianna.karedi.action;

import org.controlsfx.control.action.Action;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.action;
package com.github.nianna.karedi.action;

public enum KarediActions {
// File
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.audio;
package com.github.nianna.karedi.audio;

import java.io.File;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.audio;
package com.github.nianna.karedi.audio;

import java.io.File;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.audio;
package com.github.nianna.karedi.audio;

import java.net.URL;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.audio;
package com.github.nianna.karedi.audio;

import java.io.BufferedInputStream;
import java.io.ByteArrayOutputStream;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/github/nianna/karedi/audio/MidiPlayer.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.audio;
package com.github.nianna.karedi.audio;

import java.util.List;
import java.util.logging.Logger;
Expand All @@ -13,7 +13,7 @@
import org.jfugue.midi.MidiParserListener;
import org.staccato.StaccatoParser;

import main.java.com.github.nianna.karedi.I18N;
import com.github.nianna.karedi.I18N;

/**
* Generates requested tones. Uses default sequencer of the {@link MidiSystem}.
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/github/nianna/karedi/audio/Mp3File.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.audio;
package com.github.nianna.karedi.audio;

import java.io.File;
import java.io.IOException;
Expand All @@ -9,7 +9,7 @@

import javafx.beans.property.DoubleProperty;
import javafx.beans.property.SimpleDoubleProperty;
import main.java.com.github.nianna.karedi.I18N;
import com.github.nianna.karedi.I18N;

public class Mp3File implements CachedAudioFile {
private static final Logger LOGGER = Logger.getLogger(Mp3File.class.getName());
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/github/nianna/karedi/audio/Mp3Player.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.audio;
package com.github.nianna.karedi.audio;

import java.io.ByteArrayInputStream;
import java.util.logging.Logger;
Expand All @@ -7,7 +7,7 @@
import javazoom.jl.decoder.JavaLayerException;
import javazoom.jl.player.advanced.AdvancedPlayer;
import javazoom.jl.player.advanced.PlaybackListener;
import main.java.com.github.nianna.karedi.I18N;
import com.github.nianna.karedi.I18N;

/**
* A player operating on a preloaded mp3 file.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/github/nianna/karedi/audio/Player.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.audio;
package com.github.nianna.karedi.audio;

import java.util.ArrayList;
import java.util.List;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/github/nianna/karedi/audio/Playlist.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package main.java.com.github.nianna.karedi.audio;
package com.github.nianna.karedi.audio;

import javafx.beans.property.ReadOnlyObjectProperty;
import javafx.beans.property.ReadOnlyObjectWrapper;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import main.java.com.github.nianna.karedi.util.MathUtils;
import com.github.nianna.karedi.util.MathUtils;

/**
* A container for {@link CachedAudioFile}s. Only one of them can be currently
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.audio;
package com.github.nianna.karedi.audio;

import com.mpatric.mp3agic.MpegFrame;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package main.java.com.github.nianna.karedi.command;
package com.github.nianna.karedi.command;

import java.util.List;

import main.java.com.github.nianna.karedi.I18N;
import main.java.com.github.nianna.karedi.song.SongLine;
import main.java.com.github.nianna.karedi.song.SongTrack;
import com.github.nianna.karedi.I18N;
import com.github.nianna.karedi.song.SongLine;
import com.github.nianna.karedi.song.SongTrack;

public class AddLinesCommand extends Command {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main.java.com.github.nianna.karedi.command;
package com.github.nianna.karedi.command;

import main.java.com.github.nianna.karedi.I18N;
import main.java.com.github.nianna.karedi.song.Note;
import main.java.com.github.nianna.karedi.util.LyricsHelper;
import com.github.nianna.karedi.I18N;
import com.github.nianna.karedi.song.Note;
import com.github.nianna.karedi.util.LyricsHelper;

public class AddNewSyllableCommand extends InsertSeparatorCommand {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main.java.com.github.nianna.karedi.command;
package com.github.nianna.karedi.command;

import main.java.com.github.nianna.karedi.I18N;
import main.java.com.github.nianna.karedi.song.Note;
import main.java.com.github.nianna.karedi.util.LyricsHelper;
import com.github.nianna.karedi.I18N;
import com.github.nianna.karedi.song.Note;
import com.github.nianna.karedi.util.LyricsHelper;

public class AddNewWordCommand extends InsertSeparatorCommand {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package main.java.com.github.nianna.karedi.command;
package com.github.nianna.karedi.command;

import java.util.Arrays;

import main.java.com.github.nianna.karedi.I18N;
import main.java.com.github.nianna.karedi.song.Note;
import main.java.com.github.nianna.karedi.song.SongLine;
import main.java.com.github.nianna.karedi.song.SongTrack;
import com.github.nianna.karedi.I18N;
import com.github.nianna.karedi.song.Note;
import com.github.nianna.karedi.song.SongLine;
import com.github.nianna.karedi.song.SongTrack;

public class AddNoteCommand extends Command {
private Note note;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package main.java.com.github.nianna.karedi.command;
package com.github.nianna.karedi.command;

import java.util.ArrayList;
import java.util.List;

import main.java.com.github.nianna.karedi.context.AppContext;
import main.java.com.github.nianna.karedi.context.NoteSelection;
import main.java.com.github.nianna.karedi.song.Note;
import main.java.com.github.nianna.karedi.song.SongLine;
import main.java.com.github.nianna.karedi.song.SongTrack;
import com.github.nianna.karedi.context.AppContext;
import com.github.nianna.karedi.context.NoteSelection;
import com.github.nianna.karedi.song.Note;
import com.github.nianna.karedi.song.SongLine;
import com.github.nianna.karedi.song.SongTrack;

public class BackupStateCommandDecorator extends CommandDecorator {
private AppContext appContext;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main.java.com.github.nianna.karedi.command;
package com.github.nianna.karedi.command;

import main.java.com.github.nianna.karedi.I18N;
import main.java.com.github.nianna.karedi.song.Note;
import com.github.nianna.karedi.I18N;
import com.github.nianna.karedi.song.Note;

public class ChangeLengthCommand extends ChangePropertyCommand<Integer> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main.java.com.github.nianna.karedi.command;
package com.github.nianna.karedi.command;

import main.java.com.github.nianna.karedi.I18N;
import main.java.com.github.nianna.karedi.song.Note;
import com.github.nianna.karedi.I18N;
import com.github.nianna.karedi.song.Note;

public class ChangeLyricsCommand extends ChangePropertyCommand<String> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main.java.com.github.nianna.karedi.command;
package com.github.nianna.karedi.command;

import main.java.com.github.nianna.karedi.I18N;
import main.java.com.github.nianna.karedi.song.Note;
import main.java.com.github.nianna.karedi.song.Note.Type;
import com.github.nianna.karedi.I18N;
import com.github.nianna.karedi.song.Note;
import com.github.nianna.karedi.song.Note.Type;

public class ChangeNoteTypeCommand extends ChangePropertyCommand<Type> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package main.java.com.github.nianna.karedi.command;
package com.github.nianna.karedi.command;

import java.util.List;

import main.java.com.github.nianna.karedi.I18N;
import main.java.com.github.nianna.karedi.song.Note;
import main.java.com.github.nianna.karedi.song.Note.Type;
import com.github.nianna.karedi.I18N;
import com.github.nianna.karedi.song.Note;
import com.github.nianna.karedi.song.Note.Type;

public class ChangeNotesTypeCommand extends CommandComposite {
private List<Note> notes;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.command;
package com.github.nianna.karedi.command;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.command;
package com.github.nianna.karedi.command;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main.java.com.github.nianna.karedi.command;
package com.github.nianna.karedi.command;

import java.util.function.Consumer;
import java.util.function.Supplier;
Expand Down
Loading

0 comments on commit 480ff33

Please sign in to comment.