-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure that all ZnCharacterEncoders self identify correctly (see Z…
…nCharacterEncoderTest>>#testKnownEncodingIdentifiers)
- Loading branch information
Showing
10 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...inc-Character-Encoding-Core.package/ZnEndianSensitiveUTFEncoder.class/instance/^equals.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
comparing | ||
= anObject | ||
^ super = anObject and: [ self endianness == anObject endianness ] | ||
^ super = anObject and: [ self identifier == anObject identifier ] |
2 changes: 1 addition & 1 deletion
2
...y/Zinc-Character-Encoding-Core.package/ZnEndianSensitiveUTFEncoder.class/instance/hash.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
comparing | ||
hash | ||
^ super hash bitXor: self endianness hash | ||
^ self identifier hash |
3 changes: 3 additions & 0 deletions
3
...Character-Encoding-Core.package/ZnEndianSensitiveUTFEncoder.class/instance/identifier..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
identifier: anObject | ||
identifier := anObject |
2 changes: 1 addition & 1 deletion
2
...UTF16Encoder.class/instance/identifier.st → ...veUTFEncoder.class/instance/identifier.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
accessing | ||
identifier | ||
^ #utf16 | ||
^ identifier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
repository/Zinc-Character-Encoding-Core.package/ZnNullEncoder.class/instance/identifier.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
accessing | ||
identifier | ||
^ #ascii | ||
^ #null |
3 changes: 0 additions & 3 deletions
3
repository/Zinc-Character-Encoding-Core.package/ZnUTF32Encoder.class/instance/identifier.st
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters