Skip to content

Commit

Permalink
make the provider constant public,
Browse files Browse the repository at this point in the history
fix the name of the fallback impl

Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
lukasj committed Feb 26, 2022
1 parent aa29ae6 commit 8d210fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/src/main/java/jakarta/json/spi/JsonProvider.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -65,14 +65,14 @@ public abstract class JsonProvider {
/**
* The name of the property that contains the name of the class capable of creating new JsonProvider objects.
*/
private static final String JSONP_PROVIDER_FACTORY = "jakarta.json.provider";
public static final String JSONP_PROVIDER_FACTORY = "jakarta.json.provider";

/**
* A constant representing the name of the default
* {@code JsonProvider} implementation class.
*/
private static final String DEFAULT_PROVIDER
= "org.eclipse.jsonp.JsonProviderImpl";
= "org.eclipse.parsson.JsonProviderImpl";

/**
* Default constructor.
Expand Down

0 comments on commit 8d210fa

Please sign in to comment.