Skip to content

Commit

Permalink
chore: update readme [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita715 authored Apr 19, 2019
1 parent fcfc3cb commit 19ee8df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ or this in your pom.xml
</dependency>
</dependencies>
```
3. Submit files for analysis
3. Submit files for an analysis
```java
List<File> bases = Arrays.asList(
new File("path/to/basefile1"),
Expand All @@ -46,9 +46,9 @@ List<Pair<String, File>> 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`
Expand Down

0 comments on commit 19ee8df

Please sign in to comment.