diff --git a/README.md b/README.md index 345d81c..ad21058 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ or this in your pom.xml ``` -3. Submit files for analysis +3. Submit files for an analysis ```java List bases = Arrays.asList( new File("path/to/basefile1"), @@ -46,9 +46,9 @@ List> solutions = Arrays.asList( String mossId = "12345678" -MossClient mossClient = new MossClient(mossId, Language.JAVA); -mossClient.submitFiles(bases, true); -mossClient.submitNamedFiles(solutions); +MossClient mossClient = new MossClient(mossId, Language.JAVA) + .submitFiles(bases, true) + .submitNamedFiles(solutions); String resultUrl = mossClient.getResult(); ``` 4. Look at the analysis result by the `resultUrl`