[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:
dupirefr 2020-04-21 08:52:04 +02:00
parent c02e57fe7e
commit 4f75f2d5b0
30 changed files with 30 additions and 32 deletions

View File

@ -1,4 +1,4 @@
package com.baeldung.keyword.superkeyword;
package com.baeldung.superkeyword;
/**
* Created by Gebruiker on 5/14/2018.

View File

@ -1,4 +1,4 @@
package com.baeldung.keyword.superkeyword;
package com.baeldung.superkeyword;
/**
* Created by Gebruiker on 5/14/2018.

View File

@ -1,4 +1,4 @@
package com.baeldung.keyword.superkeyword;
package com.baeldung.superkeyword;
/**
* Created by Gebruiker on 5/15/2018.

View File

@ -1,4 +1,4 @@
package com.baeldung.scope.method;
package com.baeldung.variableandmethodhiding.method;
public class ChildMethodClass extends BaseMethodClass {

View File

@ -1,4 +1,4 @@
package com.baeldung.scope.variable;
package com.baeldung.variableandmethodhiding.variable;
/**
* Created by Gebruiker on 5/7/2018.

View File

@ -1,4 +1,4 @@
package com.baeldung.scope.variable;
package com.baeldung.variableandmethodhiding.variable;
/**
* Created by Gebruiker on 5/6/2018.

View File

@ -1,4 +1,4 @@
package com.baeldung.scope.variable;
package com.baeldung.variableandmethodhiding.variable;
/**
* Created by Gebruiker on 5/7/2018.

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package com.baeldung.basicmethods;
package com.baeldung.methods;
import java.io.FileWriter;
import java.io.IOException;

View File

@ -1,4 +1,4 @@
package com.baeldung.methodoverloadingoverriding.test;
package com.baeldung.methodoverloadingoverriding;
import com.baeldung.methodoverloadingoverriding.util.Multiplier;
import org.junit.BeforeClass;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package com.baeldung.accessmodifiers.publicmodifier;
package com.baeldung.publicmodifier;
import java.util.AbstractList;
import java.util.Arrays;

View File

@ -1,4 +1,4 @@
package com.baeldung.accessmodifiers.publicmodifier;
package com.baeldung.publicmodifier;
import java.math.BigDecimal;
import java.sql.Connection;

View File

@ -1,4 +1,4 @@
package com.baeldung.staticdemo;
package com.baeldung.staticmodifier;
/**
* This class demonstrates the use of static fields and static methods

View File

@ -1,4 +1,4 @@
package com.baeldung.staticdemo;
package com.baeldung.staticmodifier;
public class Singleton {
private Singleton() {}

View File

@ -1,4 +1,4 @@
package com.baeldung.staticdemo;
package com.baeldung.staticmodifier;
import java.util.LinkedList;
import java.util.List;

View File

@ -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;

View File

@ -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;

View File

@ -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;