Skip to content

Commit 8d210fa

Browse files
committed
make the provider constant public,
fix the name of the fallback impl Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
1 parent aa29ae6 commit 8d210fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/src/main/java/jakarta/json/spi/JsonProvider.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2011, 2021 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2011, 2022 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -65,14 +65,14 @@ public abstract class JsonProvider {
6565
/**
6666
* The name of the property that contains the name of the class capable of creating new JsonProvider objects.
6767
*/
68-
private static final String JSONP_PROVIDER_FACTORY = "jakarta.json.provider";
68+
public static final String JSONP_PROVIDER_FACTORY = "jakarta.json.provider";
6969

7070
/**
7171
* A constant representing the name of the default
7272
* {@code JsonProvider} implementation class.
7373
*/
7474
private static final String DEFAULT_PROVIDER
75-
= "org.eclipse.jsonp.JsonProviderImpl";
75+
= "org.eclipse.parsson.JsonProviderImpl";
7676

7777
/**
7878
* Default constructor.

0 commit comments

Comments
 (0)