summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Clayton <alex.clayton@isode.com>2016-03-21 16:22:56 (GMT)
committerAlex Clayton <alex.clayton@isode.com>2016-03-22 11:32:44 (GMT)
commit9b518dcdd98d694a4464895fce17a3c7a8caf569 (patch)
treef585f40f6ac0c0d829015c68d6d8c8169a4fb252 /src/com/isode/stroke/elements/FormPage.java
parent0ec7a2d8ab803b0e2df2c616f61d2b69b042561f (diff)
downloadstroke-9b518dcdd98d694a4464895fce17a3c7a8caf569.zip
stroke-9b518dcdd98d694a4464895fce17a3c7a8caf569.tar.bz2
Tidy XEP-0141 code
As per swiften patch of the same name. This change addresses some feedback the previous XEP-0141 commit. Test-information: Unit tests stil pass. Change-Id: I3a9f9ec93b56352418f8288371bbd6874e01310d
Diffstat (limited to 'src/com/isode/stroke/elements/FormPage.java')
-rw-r--r--src/com/isode/stroke/elements/FormPage.java12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/com/isode/stroke/elements/FormPage.java b/src/com/isode/stroke/elements/FormPage.java
index b23a6e2..ffb35a9 100644
--- a/src/com/isode/stroke/elements/FormPage.java
+++ b/src/com/isode/stroke/elements/FormPage.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015 Isode Limited.
+ * Copyright (c) 2015-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -21,7 +21,6 @@ import java.util.Vector;
public class FormPage {
private String label_ = "";
- private String xmlns_ = "";
private Vector<FormText> textElements_ = new Vector<FormText>();
private Vector<FormReportedRef> reportedRefs_ = new Vector<FormReportedRef>();
private Vector<FormSection> childSections_ = new Vector<FormSection>();
@@ -32,7 +31,7 @@ public class FormPage {
* Default Constructor.
*/
public FormPage() {
- this.xmlns_ = "http://jabber.org/protocol/xdata-layout";
+
}
/**
@@ -51,13 +50,6 @@ public class FormPage {
}
/**
- * @return xmlns, Not Null.
- */
- public String getXMLNS() {
- return xmlns_;
- }
-
- /**
* @param textElement, Not Null.
*/
public void addTextElement(FormText textElement) {