Libraryless. Click here for Pure Java version (3045L/18K).
1 | // This always errs on the side of returning false |
2 | // (it returns false for things like "{}" versus "{ }")
|
3 | sbool eqForJavaSources(S a, S b) {
|
4 | ret eqAfter(src -> join(javaTok_simpleSpacesAndTrim(src)), a, b); |
5 | } |
Began life as a copy of #1027849
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031310 |
| Snippet name: | eqForJavaSources - are 2 sources identical ignoring whitespace? |
| Eternal ID of this version: | #1031310/3 |
| Text MD5: | cbce9426dc82f536275184cd33acd9f1 |
| Transpilation MD5: | 195967d40c7eebace7180ef8e5c80f1a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-04 21:43:41 |
| Source code size: | 215 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 390 / 511 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |