Skip to content

Commit

Permalink
compress noisy exception by using WARNING in the catch block instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Grosner committed Jul 2, 2015
1 parent 6bc63a7 commit ddd1e1b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public void handle(ProcessorManager processorManager, RoundEnvironment roundEnvi
databaseWriter.write(javaWriter);
javaWriter.close();
} catch (IOException e) {
e.printStackTrace();
processorManager.getMessager().printMessage(Diagnostic.Kind.WARNING, e.getMessage());
}
}

Expand All @@ -308,7 +308,7 @@ public void handle(ProcessorManager processorManager, RoundEnvironment roundEnvi

staticFlowManager.close();
} catch (IOException e) {
e.printStackTrace();
processorManager.getMessager().printMessage(Diagnostic.Kind.WARNING, e.getMessage());
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public OrderBy descending() {
* @param collate The {@link Collate} to append to the end of this clause.
* @return This instance with a {@link Collate} appended to the end.
*/
public OrderBy collation(Collate collate) {
public OrderBy collate(Collate collate) {
orderByCollation = collate;
return this;
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ works without crashing/complaining. Just don't call the non-tables associated `M
4. Bug fixes and Improvements
5. Adds ability to validate values for columns via the [ColumnValueValidator](https://github.com/Raizlabs/DBFlow/blob/master/usage/Conditions.md).
6. Adds the `OrderBy` object to aid in `ORDER BY` queries. Added `orderBy()` methods in the `From` class
for easier access without needing to call `where()` first.
for easier access without needing to call `where()` first. Adds `Collate` support within this class.
7. Adds a `enableSelfRefreshes()` for the `FlowQueryList` and souped up the documentation
with a "best practices" section.
8. Fixes bugs with the [Getting Started](https://github.com/Raizlabs/DBFlow/blob/master/usage/GettingStarted.md) section implementation. `OneToMany.Method.SAVE` now actually works on `insert`, `update`, and `save` methods.
Expand Down

0 comments on commit ddd1e1b

Please sign in to comment.