mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +01:00
Fix style issues in Workgroup Macros
This commit is contained in:
parent
74e3d56ba2
commit
4c13ea4125
1 changed files with 56 additions and 62 deletions
|
@ -126,7 +126,6 @@ public class Macros extends IQ {
|
||||||
}
|
}
|
||||||
|
|
||||||
public Macro parseMacro(XmlPullParser parser) throws XmlPullParserException, IOException {
|
public Macro parseMacro(XmlPullParser parser) throws XmlPullParserException, IOException {
|
||||||
// CHECKSTYLE:OFF
|
|
||||||
Macro macro = new Macro();
|
Macro macro = new Macro();
|
||||||
boolean done = false;
|
boolean done = false;
|
||||||
while (!done) {
|
while (!done) {
|
||||||
|
@ -153,11 +152,9 @@ public class Macros extends IQ {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return macro;
|
return macro;
|
||||||
// CHECKSTYLE:ON
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public MacroGroup parseMacroGroup(XmlPullParser parser) throws XmlPullParserException, IOException {
|
public MacroGroup parseMacroGroup(XmlPullParser parser) throws XmlPullParserException, IOException {
|
||||||
// CHECKSTYLE:OFF
|
|
||||||
MacroGroup group = new MacroGroup();
|
MacroGroup group = new MacroGroup();
|
||||||
|
|
||||||
boolean done = false;
|
boolean done = false;
|
||||||
|
@ -181,11 +178,9 @@ public class Macros extends IQ {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return group;
|
return group;
|
||||||
// CHECKSTYLE:ON
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public MacroGroup parseMacroGroups(String macros) throws XmlPullParserException, IOException {
|
public MacroGroup parseMacroGroups(String macros) throws XmlPullParserException, IOException {
|
||||||
// CHECKSTYLE:OFF
|
|
||||||
MacroGroup group = null;
|
MacroGroup group = null;
|
||||||
XmlPullParser parser = XmlPullParserFactory.newInstance().newPullParser();
|
XmlPullParser parser = XmlPullParserFactory.newInstance().newPullParser();
|
||||||
parser.setInput(new StringReader(macros));
|
parser.setInput(new StringReader(macros));
|
||||||
|
@ -199,7 +194,6 @@ public class Macros extends IQ {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return group;
|
return group;
|
||||||
// CHECKSTYLE:ON
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue