Author: fbricon
Date: 2011-10-18 04:54:54 -0400 (Tue, 18 Oct 2011)
New Revision: 35753
Modified:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/RefreshJBossNewsHandler.java
Log:
JBIDE-9368 : Fixed News refresh button was triggering Blogs refresh
Modified:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/RefreshJBossNewsHandler.java
===================================================================
---
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/RefreshJBossNewsHandler.java 2011-10-18
08:36:36 UTC (rev 35752)
+++
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/RefreshJBossNewsHandler.java 2011-10-18
08:54:54 UTC (rev 35753)
@@ -15,7 +15,7 @@
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.jobs.Job;
-import org.jboss.tools.central.jobs.RefreshBlogsJob;
+import org.jboss.tools.central.jobs.RefreshNewsJob;
/**
*
@@ -26,8 +26,8 @@
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
- if (RefreshBlogsJob.INSTANCE.getState() == Job.NONE) {
- RefreshBlogsJob.INSTANCE.schedule();
+ if (RefreshNewsJob.INSTANCE.getState() == Job.NONE) {
+ RefreshNewsJob.INSTANCE.schedule();
}
return null;
}
Show replies by date