Skip to content

Commit f0491a4

Browse files
author
bwelling
committed
whitespace fixes
git-svn-id: http://svn.code.sf.net/p/dnsjava/code/trunk@775 c76caeb1-94fd-44dd-870f-0c9d92034fc1
1 parent c6b78cb commit f0491a4

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

jnamed.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ else if (keyword.equals("address")) {
154154
Cache cache = getCache(dclass);
155155
if (glue)
156156
rrsets = cache.findAnyRecords(name, type);
157-
else
157+
else
158158
rrsets = cache.findRecords(name, type);
159159
if (rrsets == null)
160160
return null;
@@ -386,11 +386,11 @@ else if (sr.isSuccessful()) {
386386
byte [] out = response.toWire();
387387
dataOut.writeShort(out.length);
388388
dataOut.write(out);
389-
}
389+
}
390390
}
391391
catch (IOException ex) {
392392
System.out.println("AXFR failed");
393-
}
393+
}
394394
try {
395395
s.close();
396396
}
@@ -689,7 +689,7 @@ else if (queryOPT != null)
689689
public static void main(String [] args) {
690690
if (args.length > 1) {
691691
System.out.println("usage: jnamed [conf]");
692-
System.exit(0);
692+
System.exit(0);
693693
}
694694
jnamed s;
695695
try {

update.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ else if (operation.equals("date")) {
275275
print(response);
276276
}
277277

278-
/*
278+
/*
279279
* <name> [ttl] [class] <type> <data>
280280
* Ignore the class, if present.
281281
*/
@@ -486,7 +486,6 @@ record = parseRR(st, defaultClass, defaultTTL);
486486
catch (FileNotFoundException e) {
487487
print(s + " not found");
488488
}
489-
490489
}
491490

492491
void
@@ -556,7 +555,7 @@ else if ((section = Section.value(field)) >= 0) {
556555
print("Invalid assertion keyword: " + field);
557556

558557
if (flag == false) {
559-
print("Expected " + field + " " + expected +
558+
print("Expected " + field + " " + expected +
560559
", received " + value);
561560
if (st.hasMoreTokens())
562561
print(st.nextToken());

0 commit comments

Comments
 (0)