64BitAsura / google-gin

Automatically exported from code.google.com/p/google-gin
Apache License 2.0
0 stars 0 forks source link

Incorrect error logging for factory modules #163

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The ErrorManager has two overloaded logError messages, which are similar:
  public void logError(String message, Object... args) {

  public void logError(String message, Throwable t, Object... args) {

The current code uses the first method. Parameter 2+3 are passed as args. The 
third arg is never used. It seems that the intention was to use the second 
method, where all three parameters get used. To achieve that, parameter 2+3 
have to switch place.

Thomas
tfischer@google.com

Original issue reported on code.google.com by tfisc...@google.com on 2 Jul 2011 at 1:28

Attachments:

GoogleCodeExporter commented 8 years ago
Looks good to me, I'll patch this and submit it.

Original comment by aragos on 19 Jul 2011 at 5:08

GoogleCodeExporter commented 8 years ago
Submitted and fixed in r220. Thanks for the patch!

Original comment by aragos on 19 Jul 2011 at 5:14