directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r124862 - /incubator/directory/dns/trunk/core/src/java/org/apache/dns/io/DnsMessageDecoder.java
Date Tue, 11 Jan 2005 01:23:05 GMT
Author: erodriguez
Date: Mon Jan 10 17:23:04 2005
New Revision: 124862

URL: http://svn.apache.org/viewcvs?view=rev&rev=124862
Log:
Variable rename.
Modified:
   incubator/directory/dns/trunk/core/src/java/org/apache/dns/io/DnsMessageDecoder.java

Modified: incubator/directory/dns/trunk/core/src/java/org/apache/dns/io/DnsMessageDecoder.java
Url: http://svn.apache.org/viewcvs/incubator/directory/dns/trunk/core/src/java/org/apache/dns/io/DnsMessageDecoder.java?view=diff&rev=124862&p1=incubator/directory/dns/trunk/core/src/java/org/apache/dns/io/DnsMessageDecoder.java&r1=124861&p2=incubator/directory/dns/trunk/core/src/java/org/apache/dns/io/DnsMessageDecoder.java&r2=124862
==============================================================================
--- incubator/directory/dns/trunk/core/src/java/org/apache/dns/io/DnsMessageDecoder.java	(original)
+++ incubator/directory/dns/trunk/core/src/java/org/apache/dns/io/DnsMessageDecoder.java	Mon
Jan 10 17:23:04 2005
@@ -64,7 +64,7 @@
 	
 	private ResourceRecord[] parseRecords( short recordCount, ByteBuffer byteBuffer )
 	{
-		ResourceRecord[] questions = new ResourceRecord[ recordCount ];
+		ResourceRecord[] records = new ResourceRecord[ recordCount ];
 		
 		for ( int ii = 0; ii < recordCount; ii++ )
 		{
@@ -79,11 +79,11 @@
 			byte[] data = new byte[ dataLength ];
 			byteBuffer.get( data );
 			
-			questions[ ii ] = new ResourceRecord( domainName, recordType,
+			records[ ii ] = new ResourceRecord( domainName, recordType,
 					recordClass, timeToLive, data );
 		}
 		
-		return questions;
+		return records;
 	}
 	
 	private QuestionRecord[] parseQuestions( short questionCount, ByteBuffer byteBuffer )

Mime
View raw message