Skip to content

Commit

Permalink
remove method and make the other private
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Aug 31, 2023
1 parent 773d018 commit d32aa5a
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/main/java/io/bioimage/modelrunner/model/Model.java
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public static Model createDeepLearningModel( String modelFolder, String modelSou
* @throws Exception
* if the directory is not found
*/
public void setEngineClassLoader( ClassLoader classLoader ) throws LoadEngineException, Exception
private void setEngineClassLoader( ClassLoader classLoader ) throws LoadEngineException, Exception
{
this.engineClassLoader = EngineLoader.createEngine(
( classLoader == null ) ? Thread.currentThread().getContextClassLoader() : classLoader, engineInfo );
Expand Down Expand Up @@ -413,17 +413,6 @@ public String getModelSource()
return this.modelSource;
}

/**
* Sets the model name
*
* @param modelName
* the name of the model
*/
public void setModelName( String modelName )
{
this.modelName = modelName;
}

/**
* Gets the name of the model
*
Expand Down

0 comments on commit d32aa5a

Please sign in to comment.