camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmvo...@apache.org
Subject [camel] 01/02: Fix CS for camel-weka
Date Tue, 04 Feb 2020 16:13:17 GMT
This is an automated email from the ASF dual-hosted git repository.

dmvolod pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 004c6127ef5b0df76649359e63a22e8843cc67c8
Author: Dmitry Volodin <dmvolod@gmail.com>
AuthorDate: Tue Feb 4 18:35:14 2020 +0300

    Fix CS for camel-weka
---
 .../main/java/org/apache/camel/component/weka/WekaConfiguration.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/components/camel-weka/src/main/java/org/apache/camel/component/weka/WekaConfiguration.java
b/components/camel-weka/src/main/java/org/apache/camel/component/weka/WekaConfiguration.java
index 5b082c9..ffdfda7 100644
--- a/components/camel-weka/src/main/java/org/apache/camel/component/weka/WekaConfiguration.java
+++ b/components/camel-weka/src/main/java/org/apache/camel/component/weka/WekaConfiguration.java
@@ -29,7 +29,8 @@ public class WekaConfiguration {
         filter, model, read, write, push, pop, version 
     }
 
-    @UriPath(description = "The command to use.", enums = "filter,model,read,write,push,pop,version")
@Metadata(required = true)
+    @UriPath(description = "The command to use.", enums = "filter,model,read,write,push,pop,version")
+    @Metadata(required = true)
     private Command command;
 
     // Read/Write parameters
@@ -47,7 +48,7 @@ public class WekaConfiguration {
     private boolean xval;
     @UriParam(description = "The named dataset to train the classifier with", label = "model")
     private String dsname;
-    @UriParam(description = "Numer of folds to use for cross-validation", label = "model",
defaultValue = "10")
+    @UriParam(description = "Number of folds to use for cross-validation", label = "model",
defaultValue = "10")
     private int folds = 10;
     @UriParam(description = "An optional seed for the randomizer", label = "model", defaultValue
= "1")
     private int seed = 1;


Mime
View raw message