Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
#31: renamed Jdk11UnmodifiableListFactory to Jdk10UnmodifiableListFac…
Browse files Browse the repository at this point in the history
…tory
  • Loading branch information
tlinkowski committed Mar 8, 2019
1 parent b6566cf commit 07d34c9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.tlinkowski.unij.service.collect.jdk11;
package pl.tlinkowski.unij.service.collect.jdk10;

import java.util.Collection;
import java.util.List;
Expand All @@ -27,12 +27,12 @@

/**
* Implementation of {@link UnmodifiableListFactory} that returns <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html#unmodifiable">unmodifiable
* lists</a> introduced in JDK 11.
* lists</a> introduced in JDK 10.
*
* @author Tomasz Linkowski
*/
@UniJService(priority = 10)
public final class Jdk11UnmodifiableListFactory implements UnmodifiableListFactory {
public final class Jdk10UnmodifiableListFactory implements UnmodifiableListFactory {

//region COLLECTOR
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
* limitations under the License.
*/
/**
* UniJ {@link java.util.Collection}-factory service implementations based on JDK 11.
* UniJ {@link java.util.Collection}-factory service implementations based on JDK 10.
*
* @author Tomasz Linkowski
* @see java.util.ServiceLoader
*/
@AllNonnullByDefault
package pl.tlinkowski.unij.service.collect.jdk11;
package pl.tlinkowski.unij.service.collect.jdk10;

import pl.tlinkowski.unij.annotation.AllNonnullByDefault;
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pl.tlinkowski.unij.service.collect.jdk11.Jdk11UnmodifiableListFactory
pl.tlinkowski.unij.service.collect.jdk10.Jdk10UnmodifiableListFactory
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pl.tlinkowski.unij.service.collect.jdk11
package pl.tlinkowski.unij.service.collect.jdk10

import pl.tlinkowski.unij.test.provider.AbstractUnmodifiableListFactorySpec

/**
* @author Tomasz Linkowski
*/
final class Jdk11UnmodifiableListFactorySpec extends AbstractUnmodifiableListFactorySpec {
final class Jdk10UnmodifiableListFactorySpec extends AbstractUnmodifiableListFactorySpec {

def setupSpec() {
factory = new Jdk11UnmodifiableListFactory()
factory = new Jdk10UnmodifiableListFactory()
}
}

0 comments on commit 07d34c9

Please sign in to comment.