[JIRA] [gerrit-trigger] (JENKINS-22814) Some infomations are logged from constructor on startup

2014-05-19 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-22814


Some infomations are logged from constructor on startup















Code changed in jenkins
User: rinrinne
Path:
 src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/replication/ReplicationCache.java
 src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/replication/ReplicationQueueTaskDispatcher.java
 src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/replication/ReplicationCacheTest.java
 src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/replication/ReplicationQueueTaskDispatcherTest.java
http://jenkins-ci.org/commit/gerrit-trigger-plugin/12b74ea3eb73145c242c75dcf4a35a6472a329c5
Log:
  Catch implicit exception

CacheBuilder.expireAfterWrite() has possibility to raise exception if
expiration is negative. So cache object cannot be set to final member in
ReplicationCache. Also its exception is not catched anywhere.

This patch moves cache creation and logging to new method.
And adds factory class for initializing ReplicationCache correctly.

Fix for JENKINS-22814: Some infomations are logged from constructor on
startup 
https://issues.jenkins-ci.org/browse/JENKINS-22814





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [gerrit-trigger] (JENKINS-22814) Some infomations are logged from constructor on startup

2014-05-16 Thread rin...@java.net (JIRA)














































rin_ne
 updated  JENKINS-22814


Some infomations are logged from constructor on startup
















Change By:


rin_ne
(16/May/14 7:38 PM)




Assignee:


rin_ne
rsandell



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [gerrit-trigger] (JENKINS-22814) Some infomations are logged from constructor on startup

2014-05-16 Thread rin...@java.net (JIRA)















































rin_ne
 resolved  JENKINS-22814 as Fixed


Some infomations are logged from constructor on startup
















Change By:


rin_ne
(16/May/14 7:38 PM)




Status:


Open
Resolved





Fix Version/s:


current





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.