Changeset 478 for trunk/Include/Classes


Ignore:
Timestamp:
Mar 13, 2008, 9:06:43 PM (17 years ago)
Author:
イグトランス (egtra)
Message:

現在向けに修正(参照型のポインタの排除など)

Location:
trunk/Include/Classes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/Classes/ActiveBasic/Strings/Strings.ab

    r457 r478  
    11'Classes/ActiveBasic/Strings/Strings.ab
    2 
    3 #ifndef __ACTIVEBASIC_STRINGS_STRINGS_AB__
    4 #define __ACTIVEBASIC_STRINGS_STRINGS_AB__
    5 
    6 #require <Classes/System/Math.ab>
    7 #require <Classes/System/Collections/ArrayList.ab>
    82
    93Namespace ActiveBasic
     
    220214End Namespace 'ActiveBasic
    221215
    222 #endif '__ACTIVEBASIC_STRINGS_STRINGS_AB__
  • trunk/Include/Classes/System/String.ab

    r468 r478  
    256256
    257257        Override Function Equals(s As Object) As Boolean
    258             If Object.Equals( This.GetType(), s.GetType() ) Then
    259                 Return This.Equals(s As String)
     258            If Not ActiveBasic.IsNothing(s) Then
     259                If Object.Equals(This.GetType(), s.GetType()) Then
     260                    Return This.Equals(s As String)
     261                End If
    260262            End If
    261263            Return False
Note: See TracChangeset for help on using the changeset viewer.