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

6
LINES

< > BotCompany Repo | #1026389 // fixSnippetType - magic snippet type fixer

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

Libraryless. Click here for Pure Java version (4940L/33K).

sS fixSnippetType(S snippetID) {
  LS tok = javaTok(loadSnippet(snippetID));
  if (jcontains_any(tok, "cmodule <id>", "module <id>"))
    ret setSnippetTypeToDynModule(snippetID);
  null;
}

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: #1026389
Snippet name: fixSnippetType - magic snippet type fixer
Eternal ID of this version: #1026389/2
Text MD5: 15626d72866b2609c36ebd0266306ba5
Transpilation MD5: f2cbec2e6a56805d7f705ffe03151075
Author: stefan
Category: javax / snippets
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-02 12:53:04
Source code size: 194 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 101 / 167
Version history: 1 change(s)
Referenced in: [show references]