Author: lhein
Date: Wed Mar 5 23:19:50 2008
New Revision: 634180
URL: http://svn.apache.org/viewvc?rev=634180&view=rev
Log:
I renamed the "type" attribute to "contentType" because that's what it is. It
is only a change of the private variable name so no method names changed.
Modified:
servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/util/ByteArrayDataSource.java
Modified:
servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/util/ByteArrayDataSource.java
URL:
http://svn.apache.org/viewvc/servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/util/ByteArrayDataSource.java?rev=634180&r1=634179&r2=634180&view=diff
==============================================================================
---
servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/util/ByteArrayDataSource.java
(original)
+++
servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/util/ByteArrayDataSource.java
Wed Mar 5 23:19:50 2008
@@ -35,12 +35,12 @@
private static final long serialVersionUID = 1L;
private byte[] data;
- private String type;
+ private String contentType;
private String name = "unused";
- public ByteArrayDataSource(byte[] data, String type) {
+ public ByteArrayDataSource(byte[] data, String contentType) {
this.data = data;
- this.type = type;
+ this.contentType = contentType;
}
public InputStream getInputStream() throws IOException {
@@ -55,7 +55,7 @@
}
public String getContentType() {
- return type;
+ return contentType;
}
public String getName() {