Skip to content

Commit

Permalink
Formatting and lints
Browse files Browse the repository at this point in the history
  • Loading branch information
astares committed Oct 25, 2023
1 parent 83c6006 commit d59a23b
Show file tree
Hide file tree
Showing 26 changed files with 298 additions and 52 deletions.
4 changes: 4 additions & 0 deletions src/XML-Parser/DTDCachingExternalEntityResolver.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,25 @@ DTDCachingExternalEntityResolver class >> maxCachedEntities: anInteger [

{ #category : #clearing }
DTDCachingExternalEntityResolver >> clearEntityCache [

self class clearEntityCache
]

{ #category : #accessing }
DTDCachingExternalEntityResolver >> maxCachedEntities [

^ self class maxCachedEntities
]

{ #category : #accessing }
DTDCachingExternalEntityResolver >> maxCachedEntities: anInteger [

self class maxCachedEntities: anInteger
]

{ #category : #private }
DTDCachingExternalEntityResolver >> resolveNonLocalExternalEntityURI: anXMLURIOrURIString upToLimit: aMaxSize [

| uri |

uri := anXMLURIOrURIString asXMLURI.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,19 @@ DTDDecodedResolvedExternalParsedEntityReplacement class >> contents: aString [

{ #category : #accessing }
DTDDecodedResolvedExternalParsedEntityReplacement >> contents [

^ contents
]

{ #category : #testing }
DTDDecodedResolvedExternalParsedEntityReplacement >> isEmpty [

^ self contents isEmpty
]

{ #category : #printing }
DTDDecodedResolvedExternalParsedEntityReplacement >> printOn: aStream [

super printOn: aStream.

aStream
Expand All @@ -37,10 +40,12 @@ DTDDecodedResolvedExternalParsedEntityReplacement >> printOn: aStream [

{ #category : #accessing }
DTDDecodedResolvedExternalParsedEntityReplacement >> readStream [

^ self contents readStream
]

{ #category : #initialization }
DTDDecodedResolvedExternalParsedEntityReplacement >> setContents: aString [

contents := aString
]
Loading

0 comments on commit d59a23b

Please sign in to comment.