Skip to content

Commit

Permalink
remove phantom setSchema()
Browse files Browse the repository at this point in the history
  • Loading branch information
redmitry committed Nov 3, 2023
1 parent 2935a20 commit 3663741
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/main/java/es/elixir/bsc/json/schema/JsonSchemaLocator.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

package es.elixir.bsc.json.schema;

import es.elixir.bsc.json.schema.model.JsonSchema;
import java.io.IOException;
import java.net.URI;
import javax.json.JsonException;
Expand Down Expand Up @@ -85,13 +84,4 @@ public abstract JsonValue getSchema(URI uri, String jsonPointer)
* @return new locator that is able to return Json Schema.
*/
public abstract JsonSchemaLocator resolve(URI uri);

/**
* Callback method that is
* There are cases were the location URI doesn't resolve the schema, but
* is used as an identifier ('id' or '$id").
*
* @param schema the schema to associate with this locator (URI).
*/
protected void setSchema(JsonSchema schema) {}
}

0 comments on commit 3663741

Please sign in to comment.