MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / isHasScheme

Method isHasScheme

src/main/java/Messages/MessageList.java:155–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153 }
154
155 public boolean isHasScheme() {
156 if (getItemCount() < 1) {
157 return false;
158 }
159 Msg message = ((MessageItem) getFocusedObject()).msg;
160
161 if (message != null && message.body.indexOf("xmlSkin") > -1) {
162 return true;
163 }
164 return false;
165 }
166
167 public boolean isHasUrl() {
168 if (getItemCount() < 1) {

Callers 1

commandStateMethod · 0.95

Calls 2

getItemCountMethod · 0.95
getFocusedObjectMethod · 0.80

Tested by

no test coverage detected