Skip to content

Commit

Permalink
removed import warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
aflx committed Feb 20, 2012
1 parent ce1380b commit 1cf7393
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 65 deletions.
12 changes: 1 addition & 11 deletions src/de/aflx/sardine/DavResource.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,16 @@
import java.net.URISyntaxException;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

//import javax.xml.namespace.QName;
import de.aflx.sardine.util.QName;

import org.w3c.dom.Element;

import de.aflx.sardine.model.Collection;
import de.aflx.sardine.model.Creationdate;
import de.aflx.sardine.model.Getcontentlength;
import de.aflx.sardine.model.Getcontenttype;
import de.aflx.sardine.model.Getetag;
import de.aflx.sardine.model.Getlastmodified;
import de.aflx.sardine.model.Multistatus;
import de.aflx.sardine.model.Prop;
import de.aflx.sardine.model.Propstat;
import de.aflx.sardine.model.Resourcetype;
import de.aflx.sardine.model.Response;
import de.aflx.sardine.util.Logger;
import de.aflx.sardine.util.QName;
import de.aflx.sardine.util.SardineUtil;

/**
Expand Down
9 changes: 4 additions & 5 deletions src/de/aflx/sardine/impl/handler/LockResponseHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@

package de.aflx.sardine.impl.handler;

import de.aflx.sardine.impl.SardineException;
import de.aflx.sardine.model.Prop;
import de.aflx.sardine.util.SardineUtil;
import java.io.IOException;
import java.io.InputStream;

import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.StatusLine;

import java.io.IOException;
import java.io.InputStream;
import de.aflx.sardine.impl.SardineException;

/**
* @version $Id: LockResponseHandler.java 276 2011-06-28 08:13:28Z dkocher@sudo.ch $
Expand Down
8 changes: 0 additions & 8 deletions src/de/aflx/sardine/model/Lockdiscovery.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@

package de.aflx.sardine.model;

import java.util.ArrayList;
import java.util.List;
//import javax.xml.bind.annotation.XmlAccessType;
//import javax.xml.bind.annotation.XmlAccessorType;
//import javax.xml.bind.annotation.XmlRootElement;
//import javax.xml.bind.annotation.XmlType;

import org.simpleframework.xml.ElementList;


/**
Expand Down
8 changes: 0 additions & 8 deletions src/de/aflx/sardine/model/Resourcetype.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,7 @@

package de.aflx.sardine.model;

import java.util.ArrayList;
import java.util.List;
//import javax.xml.bind.annotation.XmlAccessType;
//import javax.xml.bind.annotation.XmlAccessorType;
//import javax.xml.bind.annotation.XmlAnyElement;
//import javax.xml.bind.annotation.XmlRootElement;
//import javax.xml.bind.annotation.XmlType;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;


/**
Expand Down
3 changes: 0 additions & 3 deletions src/de/aflx/sardine/model/Response.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
//import javax.xml.bind.annotation.XmlElement;
//import javax.xml.bind.annotation.XmlRootElement;
//import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;

import org.simpleframework.xml.Element;


Expand Down
8 changes: 0 additions & 8 deletions src/de/aflx/sardine/model/Supportedlock.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@

package de.aflx.sardine.model;

import java.util.ArrayList;
import java.util.List;
//import javax.xml.bind.annotation.XmlAccessType;
//import javax.xml.bind.annotation.XmlAccessorType;
//import javax.xml.bind.annotation.XmlRootElement;
//import javax.xml.bind.annotation.XmlType;

import org.simpleframework.xml.ElementList;


/**
Expand Down
29 changes: 7 additions & 22 deletions src/de/aflx/sardine/util/SardineUtil.java
Original file line number Diff line number Diff line change
@@ -1,27 +1,5 @@
package de.aflx.sardine.util;

import de.aflx.sardine.model.ObjectFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.XMLReaderFactory;

import javax.xml.XMLConstants;
//import javax.xml.bind.JAXBContext;
//import javax.xml.bind.JAXBException;
//import javax.xml.bind.Marshaller;
//import javax.xml.bind.Unmarshaller;
//import javax.xml.namespace.QName;
import de.aflx.sardine.util.QName;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
//import javax.xml.transform.sax.SAXSource;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringWriter;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
Expand All @@ -34,6 +12,13 @@
import java.util.Map;
import java.util.TimeZone;

import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;

import org.w3c.dom.Document;
import org.w3c.dom.Element;

/**
* Basic utility code. I borrowed some code from the webdavlib for
* parsing dates.
Expand Down

0 comments on commit 1cf7393

Please sign in to comment.