Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > subclipse commit: r822 - branches/subclipse-3/ui/src/org/tigris/subversion/subclipse/ui/history

subclipse
Discussion topic

Back to topic list

subclipse commit: r822 - branches/subclipse-3/ui/src/org/tigris/subversion/subclipse/ui/history

Author pkorros
Full name Panagiotis Korros
Date 2004-08-11 14:26:03 PDT
Message Author: pkorros
Date: Wed Aug 11 16:26:02 2004
New Revision: 822

Modified:
   branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/history/HistoryVi​ew.java
Log:
Fixed a NPE in history view, that was caused when the view had no associated resource and another resource was changed in the workspace.

Modified: branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/history/HistoryVi​ew.java
Url: http://svn.collab.ne​t/viewcvs/subclipse/​branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/history/HistoryVi​ew.java?view=diff​&rev=822&p1=bra​nches/subclipse-3/ui​/src/org/tigris/subv​ersion/subclipse/ui/​history/HistoryView.​java&r1=821&​p2=branches/subclips​e-3/ui/src/org/tigri​s/subversion/subclip​se/ui/history/Histor​yView.java&r2=82​2
====================​====================​====================​==================
--- branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/history/HistoryVi​ew.java (original)
+++ branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/history/HistoryVi​ew.java Wed Aug 11 16:26:02 2004
@@ -825,7 +825,7 @@
     public void resourceSyncInfoChan​ged(IResource[] changedResources) {
         for (int i = 0; i < changedResources.length; i++) {
             IResource changedResource = changedResources[i];
- if( resource.equals( changedResource ) ) {
+ if( changedResource.equals( resource ) ) {
                 resourceChanged();
             }
         }

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@subc​lipse.tigris.org
For additional commands, e-mail: cvs-help at subclipse dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

subclipse commit: r822 - branches/subclipse-3/ui/src/org/tigris/subversion/subclipse/ui/history pkorros Panagiotis Korros 2004-08-11 14:26:03 PDT
Messages per page: