Skip to content

Commit

Permalink
renamed packages
Browse files Browse the repository at this point in the history
  • Loading branch information
xspanger3770 committed Apr 8, 2023
1 parent 7b9f1f3 commit e1428ed
Show file tree
Hide file tree
Showing 67 changed files with 183 additions and 185 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ hs_err_pid*

#Other
idea.png
old/
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.morce.zejfseis4</groupId>
<groupId>zejfseis4</groupId>
<artifactId>ZejfSeis4</artifactId>
<version>0.0.1-SNAPSHOT</version>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.client;
package zejfseis4.client;

import java.io.IOException;
import java.io.InputStream;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.client;
package zejfseis4.client;

import java.io.IOException;
import java.net.InetSocketAddress;
Expand All @@ -10,12 +10,12 @@

import org.tinylog.Logger;

import com.morce.zejfseis4.data.DataHour;
import com.morce.zejfseis4.data.SimpleLog;
import com.morce.zejfseis4.exception.FatalIOException;
import com.morce.zejfseis4.exception.IncompatibleServerException;
import com.morce.zejfseis4.exception.RuntimeApplicationException;
import com.morce.zejfseis4.main.ZejfSeis4;
import zejfseis4.data.DataHour;
import zejfseis4.data.SimpleLog;
import zejfseis4.exception.FatalIOException;
import zejfseis4.exception.IncompatibleServerException;
import zejfseis4.exception.RuntimeApplicationException;
import zejfseis4.main.ZejfSeis4;

public class ZejfClient {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.data;
package zejfseis4.data;

import java.io.Serializable;
import java.util.Calendar;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.data;
package zejfseis4.data;

import java.io.File;
import java.io.FileInputStream;
Expand All @@ -17,9 +17,9 @@

import org.tinylog.Logger;

import com.morce.zejfseis4.exception.FatalIOException;
import com.morce.zejfseis4.exception.TooBigIntervalException;
import com.morce.zejfseis4.main.ZejfSeis4;
import zejfseis4.exception.FatalIOException;
import zejfseis4.exception.TooBigIntervalException;
import zejfseis4.main.ZejfSeis4;

public class DataManager {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
package com.morce.zejfseis4.data;
package zejfseis4.data;

import java.util.Queue;
import java.util.concurrent.Semaphore;

import org.tinylog.Logger;

import com.morce.zejfseis4.exception.FatalIOException;
import com.morce.zejfseis4.exception.TooBigIntervalException;
import com.morce.zejfseis4.main.Settings;
import com.morce.zejfseis4.main.ZejfSeis4;

import uk.me.berndporr.iirj.Butterworth;
import zejfseis4.exception.FatalIOException;
import zejfseis4.exception.TooBigIntervalException;
import zejfseis4.main.Settings;
import zejfseis4.main.ZejfSeis4;

public class DataRequest {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.data;
package zejfseis4.data;

public class Log {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.data;
package zejfseis4.data;

public record SimpleLog(long time, int value) {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.morce.zejfseis4.events;
package zejfseis4.events;

import com.morce.zejfseis4.utils.GeoUtils;
import zejfseis4.utils.GeoUtils;

public class CatalogueEvent extends Event {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.events;
package zejfseis4.events;

public enum DetectionStatus {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.morce.zejfseis4.events;
package zejfseis4.events;

import java.io.Serializable;
import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneId;

import com.morce.zejfseis4.utils.GeoUtils;
import zejfseis4.utils.GeoUtils;

public abstract class Event implements Serializable {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.events;
package zejfseis4.events;

import java.awt.Color;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.events;
package zejfseis4.events;

import java.io.File;
import java.io.FileInputStream;
Expand All @@ -12,9 +12,9 @@

import org.tinylog.Logger;

import com.morce.zejfseis4.data.DataManager;
import com.morce.zejfseis4.exception.FatalIOException;
import com.morce.zejfseis4.main.ZejfSeis4;
import zejfseis4.data.DataManager;
import zejfseis4.exception.FatalIOException;
import zejfseis4.main.ZejfSeis4;

public class EventManager {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.events;
package zejfseis4.events;

import java.io.File;
import java.io.Serializable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.events;
package zejfseis4.events;

import java.io.BufferedReader;
import java.io.DataInputStream;
Expand All @@ -23,9 +23,9 @@
import org.json.JSONObject;
import org.tinylog.Logger;

import com.morce.zejfseis4.exception.FatalIOException;
import com.morce.zejfseis4.main.ZejfSeis4;
import com.morce.zejfseis4.utils.NamedThreadFactory;
import zejfseis4.exception.FatalIOException;
import zejfseis4.main.ZejfSeis4;
import zejfseis4.utils.NamedThreadFactory;

public class FDSNDownloader {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.events;
package zejfseis4.events;

import java.awt.Color;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.morce.zejfseis4.events;
package zejfseis4.events;

import com.morce.zejfseis4.utils.TravelTimeTable;
import zejfseis4.utils.TravelTimeTable;

public class ManualEvent extends Event {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.exception;
package zejfseis4.exception;

import java.awt.Component;
import java.io.PrintWriter;
Expand All @@ -11,11 +11,11 @@

import org.tinylog.Logger;

import com.morce.zejfseis4.main.ZejfSeis4;
import com.morce.zejfseis4.ui.ZejfSeisFrame;
import com.morce.zejfseis4.ui.action.CloseAction;
import com.morce.zejfseis4.ui.action.IgnoreAction;
import com.morce.zejfseis4.ui.action.TerminateAction;
import zejfseis4.main.ZejfSeis4;
import zejfseis4.ui.ZejfSeisFrame;
import zejfseis4.ui.action.CloseAction;
import zejfseis4.ui.action.IgnoreAction;
import zejfseis4.ui.action.TerminateAction;

public class ApplicationErrorHandler implements Thread.UncaughtExceptionHandler {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.exception;
package zejfseis4.exception;

/**
* Interface for exceptions with error message displayable to user
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.exception;
package zejfseis4.exception;

public class FatalApplicationException extends Exception implements FatalError {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.exception;
package zejfseis4.exception;

public interface FatalError extends ApplicationException{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.exception;
package zejfseis4.exception;

public class FatalIOException extends FatalApplicationException{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.exception;
package zejfseis4.exception;

public class IncompatibleServerException extends RuntimeApplicationException {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.exception;
package zejfseis4.exception;

public class RuntimeApplicationException extends RuntimeException implements ApplicationException {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.exception;
package zejfseis4.exception;

public class TooBigIntervalException extends RuntimeApplicationException {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.main;
package zejfseis4.main;

public class Main {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.main;
package zejfseis4.main;

import java.io.File;
import java.io.FileInputStream;
Expand All @@ -7,7 +7,7 @@
import java.util.Arrays;
import java.util.Properties;

import com.morce.zejfseis4.exception.FatalIOException;
import zejfseis4.exception.FatalIOException;

public class Settings {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.main;
package zejfseis4.main;

import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
Expand All @@ -8,14 +8,14 @@

import org.tinylog.Logger;

import com.morce.zejfseis4.client.ZejfClient;
import com.morce.zejfseis4.data.DataManager;
import com.morce.zejfseis4.events.EventManager;
import com.morce.zejfseis4.exception.ApplicationErrorHandler;
import com.morce.zejfseis4.exception.FatalIOException;
import com.morce.zejfseis4.exception.RuntimeApplicationException;
import com.morce.zejfseis4.scale.Scales;
import com.morce.zejfseis4.ui.ZejfSeisFrame;
import zejfseis4.client.ZejfClient;
import zejfseis4.data.DataManager;
import zejfseis4.events.EventManager;
import zejfseis4.exception.ApplicationErrorHandler;
import zejfseis4.exception.FatalIOException;
import zejfseis4.exception.RuntimeApplicationException;
import zejfseis4.scale.Scales;
import zejfseis4.ui.ZejfSeisFrame;

public class ZejfSeis4 {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.scale;
package zejfseis4.scale;

import java.awt.Color;
import java.awt.image.BufferedImage;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.scale;
package zejfseis4.scale;

import java.awt.Color;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.morce.zejfseis4.scale;
package zejfseis4.scale;

import java.io.IOException;

import com.morce.zejfseis4.exception.FatalIOException;
import zejfseis4.exception.FatalIOException;

public class Scales {

Expand Down
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.ui;
package zejfseis4.ui;

import java.awt.BorderLayout;
import java.awt.Dimension;
Expand All @@ -11,9 +11,9 @@
import javax.swing.JFrame;
import javax.swing.JPanel;

import com.morce.zejfseis4.events.ManualEvent;
import com.morce.zejfseis4.exception.FatalIOException;
import com.morce.zejfseis4.main.ZejfSeis4;
import zejfseis4.events.ManualEvent;
import zejfseis4.exception.FatalIOException;
import zejfseis4.main.ZejfSeis4;

public class DataExplorer extends JFrame {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.ui;
package zejfseis4.ui;

import java.awt.BasicStroke;
import java.awt.Color;
Expand All @@ -19,14 +19,13 @@
import java.util.Calendar;
import java.util.Locale;

import com.morce.zejfseis4.data.DataRequest;
import com.morce.zejfseis4.events.Intensity;
import com.morce.zejfseis4.main.Settings;
import com.morce.zejfseis4.main.ZejfSeis4;
import com.morce.zejfseis4.scale.Scales;
import com.morce.zejfseis4.utils.TravelTimeTable;

import edu.emory.mathcs.jtransforms.fft.DoubleFFT_1D;
import zejfseis4.data.DataRequest;
import zejfseis4.events.Intensity;
import zejfseis4.main.Settings;
import zejfseis4.main.ZejfSeis4;
import zejfseis4.scale.Scales;
import zejfseis4.utils.TravelTimeTable;

public class DataExplorerPanel extends DataRequestPanel {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.morce.zejfseis4.ui;
package zejfseis4.ui;

import java.awt.Graphics2D;
import java.awt.GraphicsConfiguration;
Expand All @@ -9,9 +9,9 @@

import javax.swing.JPanel;

import com.morce.zejfseis4.data.DataRequest;
import com.morce.zejfseis4.main.Settings;
import com.morce.zejfseis4.main.ZejfSeis4;
import zejfseis4.data.DataRequest;
import zejfseis4.main.Settings;
import zejfseis4.main.ZejfSeis4;

public abstract class DataRequestPanel extends JPanel {

Expand Down
Loading

0 comments on commit e1428ed

Please sign in to comment.