Libraryless. Click here for Pure Java version (3949L/23K).
svoid test_tok_cleanImports() { S in = [[ import a.bla; import a.b.blu; import a.a.blo; import x.c.*; blu = bla(); ]]; S out = [[ import a.bla; import a.b.blu; import x.c.*; blu = bla(); ]]; assertJavaSourceEqualsVerbose(out, tok_cleanImports(javaTok(in))); }
Began life as a copy of #1031283
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031314 | 
| Snippet name: | test_tok_cleanImports (OK) | 
| Eternal ID of this version: | #1031314/3 | 
| Text MD5: | b7d8ddb1d88650efa779a6c43a8332ef | 
| Transpilation MD5: | f39939f02397bf1c94f1ff5371324bbb | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2021-06-04 22:01:18 | 
| Source code size: | 340 bytes / 20 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 368 / 489 | 
| Version history: | 2 change(s) | 
| Referenced in: | [show references] |