[JAVA-621] Ensuring each article has its own package
* Putting test classes directly under abstractclasses package (no need for test subpackage, we're already in test sources) * Removed unnecessary keyword package to just let superkeyword * Renamed scope package to variableandmethodhiding * Renamed package basicmethods into methods * Putting test classes directly under methodoverloadingoverriding package (no need for test subpackage, we're already in test sources) * Moved publicmodifier package under com.baeldung as it contains code from a separate article * Moved privatemodifier under com.baeldung as it was under an unnecessary core package * Renamed staticdemo package into staticmodifier (was more adequate with other modifiers articles) * Putting test classes directly under defaultstaticinterfacemethods package (no need for test subpackage, we're already in test sources) * Moved thiskeyword package to com.baeldung instead of under keywords package
This commit is contained in:
parent
c02e57fe7e
commit
4f75f2d5b0
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.keyword.superkeyword;
|
||||
package com.baeldung.superkeyword;
|
||||
|
||||
/**
|
||||
* Created by Gebruiker on 5/14/2018.
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.keyword.superkeyword;
|
||||
package com.baeldung.superkeyword;
|
||||
|
||||
/**
|
||||
* Created by Gebruiker on 5/14/2018.
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.keyword.superkeyword;
|
||||
package com.baeldung.superkeyword;
|
||||
|
||||
/**
|
||||
* Created by Gebruiker on 5/15/2018.
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.scope.method;
|
||||
package com.baeldung.variableandmethodhiding.method;
|
||||
|
||||
|
||||
public class BaseMethodClass {
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.scope.method;
|
||||
package com.baeldung.variableandmethodhiding.method;
|
||||
|
||||
|
||||
public class ChildMethodClass extends BaseMethodClass {
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.scope.method;
|
||||
package com.baeldung.variableandmethodhiding.method;
|
||||
|
||||
public class MethodHidingDemo {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.scope.variable;
|
||||
package com.baeldung.variableandmethodhiding.variable;
|
||||
|
||||
/**
|
||||
* Created by Gebruiker on 5/7/2018.
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.scope.variable;
|
||||
package com.baeldung.variableandmethodhiding.variable;
|
||||
|
||||
/**
|
||||
* Created by Gebruiker on 5/6/2018.
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.scope.variable;
|
||||
package com.baeldung.variableandmethodhiding.variable;
|
||||
|
||||
/**
|
||||
* Created by Gebruiker on 5/7/2018.
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.scope.variable;
|
||||
package com.baeldung.variableandmethodhiding.variable;
|
||||
|
||||
/**
|
||||
* Created by Gebruiker on 5/6/2018.
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.abstractclasses.test;
|
||||
package com.baeldung.abstractclasses;
|
||||
|
||||
import com.baeldung.abstractclasses.filereaders.BaseFileReader;
|
||||
import com.baeldung.abstractclasses.filereaders.LowercaseFileReader;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.abstractclasses.test;
|
||||
package com.baeldung.abstractclasses;
|
||||
|
||||
import com.baeldung.abstractclasses.filereaders.BaseFileReader;
|
||||
import com.baeldung.abstractclasses.filereaders.UppercaseFileReader;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.basicmethods;
|
||||
package com.baeldung.methods;
|
||||
|
||||
import java.io.FileWriter;
|
||||
import java.io.IOException;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.methodoverloadingoverriding.test;
|
||||
package com.baeldung.methodoverloadingoverriding;
|
||||
|
||||
import com.baeldung.methodoverloadingoverriding.util.Multiplier;
|
||||
import org.junit.BeforeClass;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.methodoverloadingoverriding.test;
|
||||
package com.baeldung.methodoverloadingoverriding;
|
||||
|
||||
import com.baeldung.methodoverloadingoverriding.model.Car;
|
||||
import com.baeldung.methodoverloadingoverriding.model.Vehicle;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.core.privatemodifier;
|
||||
package com.baeldung.privatemodifier;
|
||||
|
||||
public class Employee {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.core.privatemodifier;
|
||||
package com.baeldung.privatemodifier;
|
||||
|
||||
public class ExampleClass {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.core.privatemodifier;
|
||||
package com.baeldung.privatemodifier;
|
||||
|
||||
public class PublicOuterClass {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.accessmodifiers.publicmodifier;
|
||||
package com.baeldung.publicmodifier;
|
||||
|
||||
import java.util.AbstractList;
|
||||
import java.util.Arrays;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.accessmodifiers.publicmodifier;
|
||||
package com.baeldung.publicmodifier;
|
||||
|
||||
public class SpecialCharacters {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.accessmodifiers.publicmodifier;
|
||||
package com.baeldung.publicmodifier;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Connection;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.staticdemo;
|
||||
package com.baeldung.staticmodifier;
|
||||
|
||||
/**
|
||||
* This class demonstrates the use of static fields and static methods
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.staticdemo;
|
||||
package com.baeldung.staticmodifier;
|
||||
|
||||
public class Singleton {
|
||||
private Singleton() {}
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.staticdemo;
|
||||
package com.baeldung.staticmodifier;
|
||||
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.defaultstaticinterfacemethods.test;
|
||||
package com.baeldung.defaultstaticinterfacemethods;
|
||||
|
||||
import com.baeldung.defaultstaticinterfacemethods.model.Car;
|
||||
import com.baeldung.defaultstaticinterfacemethods.model.Motorbike;
|
|
@ -1,7 +1,5 @@
|
|||
package com.baeldung.accessmodifiers.publicmodifier;
|
||||
package com.baeldung.publicmodifier;
|
||||
|
||||
import com.baeldung.accessmodifiers.publicmodifier.ListOfThree;
|
||||
import com.baeldung.accessmodifiers.publicmodifier.Student;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.TestInstance;
|
||||
import org.junit.jupiter.api.TestInstance.Lifecycle;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.staticdemo;
|
||||
package com.baeldung.staticmodifier;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.staticdemo;
|
||||
package com.baeldung.staticmodifier;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.staticdemo;
|
||||
package com.baeldung.staticmodifier;
|
||||
|
||||
import static org.hamcrest.collection.IsIterableContainingInOrder.contains;
|
||||
import static org.junit.Assert.assertThat;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.keyword.thiskeyword;
|
||||
package com.baeldung.thiskeyword;
|
||||
|
||||
public class Keyword {
|
||||
|
Loading…
Reference in New Issue