mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
Remove superfluous ' "" +' statements
Using sed -i 's; "" +;;' <file> to remove those.
This commit is contained in:
parent
77d12d4758
commit
da5f59a996
2 changed files with 8 additions and 8 deletions
|
@ -57,7 +57,7 @@ public class MessageFasteningElementsTest {
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void fasteningElementSerializationTest() {
|
public void fasteningElementSerializationTest() {
|
||||||
String xml = "" +
|
String xml =
|
||||||
"<apply-to xmlns='urn:xmpp:fasten:0' id='origin-id-1'>" +
|
"<apply-to xmlns='urn:xmpp:fasten:0' id='origin-id-1'>" +
|
||||||
" <i-like-this xmlns='urn:example:like'/>" +
|
" <i-like-this xmlns='urn:example:like'/>" +
|
||||||
"</apply-to>";
|
"</apply-to>";
|
||||||
|
@ -73,7 +73,7 @@ public class MessageFasteningElementsTest {
|
||||||
@ParameterizedTest
|
@ParameterizedTest
|
||||||
@EnumSource(SmackTestUtil.XmlPullParserKind.class)
|
@EnumSource(SmackTestUtil.XmlPullParserKind.class)
|
||||||
public void fasteningDeserializationTest(SmackTestUtil.XmlPullParserKind parserKind) throws XmlPullParserException, IOException, SmackParsingException {
|
public void fasteningDeserializationTest(SmackTestUtil.XmlPullParserKind parserKind) throws XmlPullParserException, IOException, SmackParsingException {
|
||||||
String xml = "" +
|
String xml =
|
||||||
"<apply-to xmlns='urn:xmpp:fasten:0' id='origin-id-1'>" +
|
"<apply-to xmlns='urn:xmpp:fasten:0' id='origin-id-1'>" +
|
||||||
" <i-like-this xmlns='urn:example:like'/>" +
|
" <i-like-this xmlns='urn:example:like'/>" +
|
||||||
" <external name='custom' element-namespace='urn:example:custom'/>" +
|
" <external name='custom' element-namespace='urn:example:custom'/>" +
|
||||||
|
@ -102,7 +102,7 @@ public class MessageFasteningElementsTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void fasteningDeserializationClearTest() throws XmlPullParserException, IOException, SmackParsingException {
|
public void fasteningDeserializationClearTest() throws XmlPullParserException, IOException, SmackParsingException {
|
||||||
String xml = "" +
|
String xml =
|
||||||
"<apply-to xmlns='urn:xmpp:fasten:0' id='origin-id-1' clear='true'>" +
|
"<apply-to xmlns='urn:xmpp:fasten:0' id='origin-id-1' clear='true'>" +
|
||||||
" <i-like-this xmlns='urn:example:like'/>" +
|
" <i-like-this xmlns='urn:example:like'/>" +
|
||||||
"</apply-to>";
|
"</apply-to>";
|
||||||
|
@ -114,7 +114,7 @@ public class MessageFasteningElementsTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void fasteningElementWithExternalElementsTest() {
|
public void fasteningElementWithExternalElementsTest() {
|
||||||
String xml = "" +
|
String xml =
|
||||||
"<apply-to xmlns='urn:xmpp:fasten:0' id='origin-id-2'>" +
|
"<apply-to xmlns='urn:xmpp:fasten:0' id='origin-id-2'>" +
|
||||||
" <external name='body'/>" +
|
" <external name='body'/>" +
|
||||||
" <external name='custom' element-namespace='urn:example:custom'/>" +
|
" <external name='custom' element-namespace='urn:example:custom'/>" +
|
||||||
|
|
|
@ -43,7 +43,7 @@ public class TestKeys {
|
||||||
/**
|
/**
|
||||||
* Public key of xmpp:juliet@capulet.lit.
|
* Public key of xmpp:juliet@capulet.lit.
|
||||||
*/
|
*/
|
||||||
public static final String JULIET_PUB = "" +
|
public static final String JULIET_PUB =
|
||||||
"-----BEGIN PGP PUBLIC KEY BLOCK-----\n" +
|
"-----BEGIN PGP PUBLIC KEY BLOCK-----\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"mQENBFrxov4BCAChZwPrBxxIlwzpieR5T2pnaOZLWH0WqSON6rVjvfbJHWdDi3Th\n" +
|
"mQENBFrxov4BCAChZwPrBxxIlwzpieR5T2pnaOZLWH0WqSON6rVjvfbJHWdDi3Th\n" +
|
||||||
|
@ -66,7 +66,7 @@ public class TestKeys {
|
||||||
/**
|
/**
|
||||||
* Private key of xmpp:juliet@capulet.lit.
|
* Private key of xmpp:juliet@capulet.lit.
|
||||||
*/
|
*/
|
||||||
public static final String JULIET_PRIV = "" +
|
public static final String JULIET_PRIV =
|
||||||
"-----BEGIN PGP PRIVATE KEY BLOCK-----\n" +
|
"-----BEGIN PGP PRIVATE KEY BLOCK-----\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"lQOYBFrxov4BCAChZwPrBxxIlwzpieR5T2pnaOZLWH0WqSON6rVjvfbJHWdDi3Th\n" +
|
"lQOYBFrxov4BCAChZwPrBxxIlwzpieR5T2pnaOZLWH0WqSON6rVjvfbJHWdDi3Th\n" +
|
||||||
|
@ -104,7 +104,7 @@ public class TestKeys {
|
||||||
/**
|
/**
|
||||||
* Public key of xmpp:romeo@montague.lit.
|
* Public key of xmpp:romeo@montague.lit.
|
||||||
*/
|
*/
|
||||||
public static final String ROMEO_PUB = "" +
|
public static final String ROMEO_PUB =
|
||||||
"-----BEGIN PGP PUBLIC KEY BLOCK-----\n" +
|
"-----BEGIN PGP PUBLIC KEY BLOCK-----\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"mQENBFrxopkBCADiYg/+mEObXgxuMW6/LFKpEyaJK9pBMgutuxnYZ9PXWZmOhDIT\n" +
|
"mQENBFrxopkBCADiYg/+mEObXgxuMW6/LFKpEyaJK9pBMgutuxnYZ9PXWZmOhDIT\n" +
|
||||||
|
@ -127,7 +127,7 @@ public class TestKeys {
|
||||||
/**
|
/**
|
||||||
* Private key of xmpp:romeo@montague.lit.
|
* Private key of xmpp:romeo@montague.lit.
|
||||||
*/
|
*/
|
||||||
public static final String ROMEO_PRIV = "" +
|
public static final String ROMEO_PRIV =
|
||||||
"-----BEGIN PGP PRIVATE KEY BLOCK-----\n" +
|
"-----BEGIN PGP PRIVATE KEY BLOCK-----\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"lQOYBFrxopkBCADiYg/+mEObXgxuMW6/LFKpEyaJK9pBMgutuxnYZ9PXWZmOhDIT\n" +
|
"lQOYBFrxopkBCADiYg/+mEObXgxuMW6/LFKpEyaJK9pBMgutuxnYZ9PXWZmOhDIT\n" +
|
||||||
|
|
Loading…
Reference in a new issue