Complete Refactor of File Directories
parent
63e3f09a48
commit
292df4edf4
@ -1,4 +1,4 @@
|
|||||||
package pluralsite.calculatorengine;
|
package pluralsite.calculator.engine;
|
||||||
|
|
||||||
public class Adder extends CalculateBase implements MathProcessing {
|
public class Adder extends CalculateBase implements MathProcessing {
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package pluralsite.calculatorengine;
|
package pluralsite.calculator.engine;
|
||||||
|
|
||||||
public abstract class CalculateBase {
|
public abstract class CalculateBase {
|
||||||
private double leftVal;
|
private double leftVal;
|
@ -1,4 +1,4 @@
|
|||||||
package pluralsite.calculatorengine;
|
package pluralsite.calculator.engine;
|
||||||
|
|
||||||
public class Divider extends CalculateBase {
|
public class Divider extends CalculateBase {
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package pluralsite.calculatorengine;
|
package pluralsite.calculator.engine;
|
||||||
|
|
||||||
public class DynamicHelper {
|
public class DynamicHelper {
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package pluralsite.calculatorengine;
|
package pluralsite.calculator.engine;
|
||||||
|
|
||||||
public class MathEquation {
|
public class MathEquation {
|
||||||
private double leftVal;
|
private double leftVal;
|
@ -1,4 +1,4 @@
|
|||||||
package pluralsite.calculatorengine;
|
package pluralsite.calculator.engine;
|
||||||
|
|
||||||
public enum MathOperation {
|
public enum MathOperation {
|
||||||
ADD, SUBTRACT, DIVIDE, MULTIPLY
|
ADD, SUBTRACT, DIVIDE, MULTIPLY
|
@ -1,4 +1,4 @@
|
|||||||
package pluralsite.calculatorengine;
|
package pluralsite.calculator.engine;
|
||||||
|
|
||||||
public interface MathProcessing {
|
public interface MathProcessing {
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package pluralsite.calculatorengine;
|
package pluralsite.calculator.engine;
|
||||||
|
|
||||||
public class Multiplier extends CalculateBase {
|
public class Multiplier extends CalculateBase {
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package pluralsite.calculatorengine;
|
package pluralsite.calculator.engine;
|
||||||
|
|
||||||
import java.util.Scanner;
|
import java.util.Scanner;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package pluralsite.calculatorengine;
|
package pluralsite.calculator.engine;
|
||||||
|
|
||||||
public class PowerOf implements MathProcessing {
|
public class PowerOf implements MathProcessing {
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package pluralsite.calculatorengine;
|
package pluralsite.calculator.engine;
|
||||||
|
|
||||||
public class Subtractor extends CalculateBase {
|
public class Subtractor extends CalculateBase {
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package calculatorengine;
|
package calculator.engine;
|
||||||
|
|
||||||
import java.time.LocalDate;
|
import java.time.LocalDate;
|
||||||
import java.time.format.DateTimeFormatter;
|
import java.time.format.DateTimeFormatter;
|
@ -1,4 +1,4 @@
|
|||||||
package helloworld;
|
package hello.world;
|
||||||
|
|
||||||
public class HelloWorld {
|
public class HelloWorld {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
@ -1,4 +1,4 @@
|
|||||||
package operatorprecedence;
|
package operator.precedence;
|
||||||
|
|
||||||
public class OperatorPrecedence {
|
public class OperatorPrecedence {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
@ -1,4 +1,4 @@
|
|||||||
package tdd.helloworld.src.main.java.hello.world;
|
package tdd.hello.world.src.main.java.hello.world;
|
||||||
|
|
||||||
public class Greeting {
|
public class Greeting {
|
||||||
String message;
|
String message;
|
@ -1,4 +1,4 @@
|
|||||||
package tdd.helloworld.src.main.java.hello.world;
|
package tdd.hello.world.src.main.java.hello.world;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hello world!
|
* Hello world!
|
@ -1,7 +1,7 @@
|
|||||||
package tdd.helloworld.src.test.java.hello.world;
|
package tdd.hello.world.src.test.java.hello.world;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import tdd.helloworld.src.main.java.hello.world.Greeting;
|
import tdd.hello.world.src.main.java.hello.world.Greeting;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static org.junit.Assert.assertNotEquals;
|
import static org.junit.Assert.assertNotEquals;
|
@ -1,2 +0,0 @@
|
|||||||
# Default ignored files
|
|
||||||
/workspace.xml
|
|
@ -1 +0,0 @@
|
|||||||
HelloWorld
|
|
@ -1,16 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="CompilerConfiguration">
|
|
||||||
<annotationProcessing>
|
|
||||||
<profile name="Maven default annotation processors profile" enabled="true">
|
|
||||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
|
||||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
|
||||||
<outputRelativeToContentRoot value="true" />
|
|
||||||
<module name="HelloWorld" />
|
|
||||||
</profile>
|
|
||||||
</annotationProcessing>
|
|
||||||
<bytecodeTargetLevel>
|
|
||||||
<module name="HelloWorld" target="13.0.2" />
|
|
||||||
</bytecodeTargetLevel>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="Encoding">
|
|
||||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
@ -1,13 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="Maven: junit:junit:4.11">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.11/junit-4.11.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC>
|
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.11/junit-4.11-javadoc.jar!/" />
|
|
||||||
</JAVADOC>
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.11/junit-4.11-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
@ -1,13 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="Maven: org.hamcrest:hamcrest-core:1.3">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC>
|
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar!/" />
|
|
||||||
</JAVADOC>
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="MavenProjectsManager">
|
|
||||||
<option name="originalFiles">
|
|
||||||
<list>
|
|
||||||
<option value="$PROJECT_DIR$/pom.xml" />
|
|
||||||
</list>
|
|
||||||
</option>
|
|
||||||
</component>
|
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_13" project-jdk-name="13.0.2" project-jdk-type="JavaSDK" />
|
|
||||||
</project>
|
|
@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="ProjectModuleManager">
|
|
||||||
<modules>
|
|
||||||
<module fileurl="file://$PROJECT_DIR$/HelloWorld.iml" filepath="$PROJECT_DIR$/HelloWorld.iml" />
|
|
||||||
</modules>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="VcsDirectoryMappings">
|
|
||||||
<mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
Loading…
Reference in New Issue