From d32aa5a992eeda03a5ed4f138f3b27b98d59575e Mon Sep 17 00:00:00 2001 From: carlosuc3m <100329787@alumnos.uc3m.es> Date: Thu, 31 Aug 2023 14:07:25 +0200 Subject: [PATCH] remove method and make the other private --- .../java/io/bioimage/modelrunner/model/Model.java | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/main/java/io/bioimage/modelrunner/model/Model.java b/src/main/java/io/bioimage/modelrunner/model/Model.java index 8131e0ab..e99b918a 100644 --- a/src/main/java/io/bioimage/modelrunner/model/Model.java +++ b/src/main/java/io/bioimage/modelrunner/model/Model.java @@ -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 ); @@ -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 *