mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-12 14:01:08 +01:00
Lint fixes: Remove dead code, etc.
- make method static when possible - remove never thrown Exception declarations - other fixes
This commit is contained in:
parent
83b84c5bd3
commit
c6594aec2f
18 changed files with 48 additions and 65 deletions
|
|
@ -19,7 +19,6 @@ package org.jivesoftware.smackx.xdatalayout.provider;
|
|||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
||||
import org.jivesoftware.smack.SmackException;
|
||||
import org.jivesoftware.smackx.xdatalayout.packet.DataLayout;
|
||||
import org.jivesoftware.smackx.xdatalayout.packet.DataLayout.DataFormLayoutElement;
|
||||
import org.jivesoftware.smackx.xdatalayout.packet.DataLayout.Fieldref;
|
||||
|
|
@ -37,8 +36,7 @@ import org.xmlpull.v1.XmlPullParserException;
|
|||
*/
|
||||
public class DataLayoutProvider {
|
||||
|
||||
public static DataLayout parse(XmlPullParser parser) throws XmlPullParserException, IOException,
|
||||
SmackException {
|
||||
public static DataLayout parse(XmlPullParser parser) throws XmlPullParserException, IOException {
|
||||
DataLayout dataLayout = new DataLayout(parser.getAttributeValue("", "label"));
|
||||
parseLayout(dataLayout.getPageLayout(), parser);
|
||||
return dataLayout;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue