diff --git a/README.md b/README.md index f060bbc4..08adffd9 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Download the fatJar or view the changelog on the **[Release Page](https://github ## Gradle ```shell -compile group: 'com.deepoove', name: 'swagger-diff', version: '1.2.1' +compile group: 'com.deepoove', name: 'swagger-diff', version: '1.2.2' ``` ## Usage @@ -81,11 +81,9 @@ String html = new HtmlRender("Changelog", .render(diff); try { - FileWriter fw = new FileWriter( - "testNewApi.html"); + FileWriter fw = new FileWriter("testNewApi.html"); fw.write(html); fw.close(); - } catch (IOException e) { e.printStackTrace(); } @@ -96,11 +94,9 @@ try { ```java String render = new MarkdownRender().render(diff); try { - FileWriter fw = new FileWriter( - "testDiff.md"); + FileWriter fw = new FileWriter("testDiff.md"); fw.write(render); fw.close(); - } catch (IOException e) { e.printStackTrace(); }