Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > subclipse commit: r821 - branches/subclipse-3/ui/src/org/tigris/subversion/subclipse/ui/decorator

subclipse
Discussion topic

Back to topic list

subclipse commit: r821 - branches/subclipse-3/ui/src/org/tigris/subversion/subclipse/ui/decorator

Author pkorros
Full name Panagiotis Korros
Date 2004-08-11 14:23:56 PDT
Message Author: pkorros
Date: Wed Aug 11 16:23:48 2004
New Revision: 821

Modified:
   branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/decorator/SVNLigh​tweightDecorator.jav​a
Log:
Fixed a NPE in decorator, that was caused when the resource was deleted.

Modified: branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/decorator/SVNLigh​tweightDecorator.jav​a
Url: http://svn.collab.ne​t/viewcvs/subclipse/​branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/decorator/SVNLigh​tweightDecorator.jav​a?view=diff&rev=​821&p1=branches/​subclipse-3/ui/src/o​rg/tigris/subversion​/subclipse/ui/decora​tor/SVNLightweightDe​corator.java&r1=​820&p2=branches/​subclipse-3/ui/src/o​rg/tigris/subversion​/subclipse/ui/decora​tor/SVNLightweightDe​corator.java&r2=​821
====================​====================​====================​==================
--- branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/decorator/SVNLigh​tweightDecorator.jav​a (original)
+++ branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/decorator/SVNLigh​tweightDecorator.jav​a Wed Aug 11 16:23:48 2004
@@ -285,6 +285,7 @@
                     SVNDecoratorConfigur​ation.ADDED_FLAG, addedFlag);
             } else {
                 if ((status.getTextStatus() != ISVNStatus.Kind.UNVERSIONED) &&
+ (status.getRevision() != null) &&
                     (status.getRevision(​).getNumber() != SVNRevision.SVN_INVALID_REVNUM) &&
                     (status.getRevision(​).getNumber() != 0)) {
                     bindings.put(

--------------------​--------------------​--------------------​---------
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: r821 - branches/subclipse-3/ui/src/org/tigris/subversion/subclipse/ui/decorator pkorros Panagiotis Korros 2004-08-11 14:23:56 PDT
Messages per page: