[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 fcc5cfb0f6
commit 53f6659143
30 changed files with 30 additions and 32 deletions

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 org.junit.Assert;
import org.junit.Test;

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;