Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (22 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libjava/javax/naming/RefAddr.java

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    6262   * Set by the constructor and returned by the getType() method.
    6363   */
    64   protected final String addrType;
     64  protected String addrType;
    6565
    6666  /**
     
    7272  protected RefAddr(String addrType)
    7373  {
    74     if (addrType == null)
    75       throw new NullPointerException("addrType cannot be null");
    76 
     74  if (addrType == null)
     75    throw new NullPointerException("addrType cannot be null");
     76         
    7777    this.addrType = addrType;
    7878  }
     
    9999   *         content of this object.
    100100   */
    101   public boolean equals (Object o)
     101  public boolean equals(Object o)
    102102  {
    103103    if (o instanceof RefAddr)
     
    105105        RefAddr refAddr = (RefAddr) o;
    106106        if (this.getType().equals(refAddr.getType()))
    107           {
    108             Object c1 = this.getContent();
    109             Object c2 = refAddr.getContent();
    110             if (c1 == null)
    111               return c2 == null;
    112             else
    113               return c1.equals(c2);
    114           }
     107  {
     108    Object c1 = this.getContent();
     109    Object c2 = refAddr.getContent();
     110          if (c1 == null)
     111            return c2 == null;
     112          else
     113            return c1.equals(c2);
     114  }
    115115      }
    116116    return false;
Note: See TracChangeset for help on using the changeset viewer.