Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 138285 Details for
Bug 278836
Unusable progress monitor created in JobManagerAdapter
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Proposed fix
clipboard.txt (text/plain), 1.45 KB, created by
RĂ¼diger Herrmann
on 2009-06-04 10:12:44 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
RĂ¼diger Herrmann
Created:
2009-06-04 10:12:44 EDT
Size:
1.45 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.ui.workbench >Index: Eclipse UI/org/eclipse/ui/internal/progress/JobManagerAdapter.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.ui/org.eclipse.rap.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobManagerAdapter.java,v >retrieving revision 1.4 >diff -u -r1.4 JobManagerAdapter.java >--- Eclipse UI/org/eclipse/ui/internal/progress/JobManagerAdapter.java 29 Apr 2009 13:24:47 -0000 1.4 >+++ Eclipse UI/org/eclipse/ui/internal/progress/JobManagerAdapter.java 4 Jun 2009 14:09:54 -0000 >@@ -69,7 +69,7 @@ > > public IProgressMonitor createMonitor( final Job job ) { > ProgressManager manager = findProgressManager( job ); >- return manager.createMonitor( job ); >+ return manager == null ? null : manager.createMonitor( job ); > } > > public IProgressMonitor createMonitor( final Job job, >@@ -77,7 +77,7 @@ > final int ticks ) > { > ProgressManager manager = findProgressManager( job ); >- return manager.createMonitor( job, group, ticks ); >+ return manager == null ? null : manager.createMonitor( job, group, ticks ); > } > > public IProgressMonitor createProgressGroup() { >@@ -175,7 +175,7 @@ > throw new IllegalStateException( msg ); > } > } else { >- result[ 0 ] = defaultProgressManager; >+ result[ 0 ] = null; > } > return result[ 0 ]; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 278836
:
138285
|
147309
|
147317