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

3
LINES

< > BotCompany Repo | #1005672 // assertNotOnAWTThread

JavaX fragment (include)

static void assertNotOnAWTThread() {
  assertFalse("Can't do this in AWT thread", isAWTThread());
}
  

Author comment

Began life as a copy of #1003627

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005672
Snippet name: assertNotOnAWTThread
Eternal ID of this version: #1005672/1
Text MD5: 81f254084e2693a8c90dbe2572f72294
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-02 17:01:27
Source code size: 105 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 567 / 594
Referenced in: [show references]