Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1027146 // tabsTo4Spaces_inPlace

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2527L/16K).

svoid tabsTo4Spaces_inPlace(File f) {
  S text = loadTextFile(f);
  if (containsTabs(text))
    saveTextFileVerbose(f, tabsTo4Spaces(text));
}

Author comment

Began life as a copy of #1027145

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027146
Snippet name: tabsTo4Spaces_inPlace
Eternal ID of this version: #1027146/4
Text MD5: d8fae940697aaa9945740241f7940f07
Transpilation MD5: 069432a8a2bec081b48ecf3e4d903fcb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-22 14:28:00
Source code size: 146 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 185 / 276
Version history: 3 change(s)
Referenced in: [show references]