commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient HttpSharedState.java
Date Sun, 28 Jul 2002 11:42:05 GMT
dion        2002/07/28 04:42:05

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        HttpSharedState.java
  Log:
  Reformatting to code standards
  
  Revision  Changes    Path
  1.3       +14 -21    jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpSharedState.java
  
  Index: HttpSharedState.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpSharedState.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HttpSharedState.java	14 Mar 2002 22:16:29 -0000	1.2
  +++ HttpSharedState.java	28 Jul 2002 11:42:05 -0000	1.3
  @@ -71,13 +71,11 @@
    *
    * @author Marc A. Saegesser
    */
  -public class HttpSharedState extends HttpState
  -{
  +public class HttpSharedState extends HttpState {
       /**
        * No-args constructor.
        */
  -    public HttpSharedState()
  -    {
  +    public HttpSharedState() {
           super();
       }
   
  @@ -86,8 +84,7 @@
        *
        * @param cookie - the Cookie to add.
        */
  -    public synchronized void addCookie(Cookie cookie)
  -    {
  +    public synchronized void addCookie(Cookie cookie) {
           super.addCookie(cookie);
       }
   
  @@ -96,8 +93,7 @@
        *
        * @param newCookies - an array of cookies to add.
        */
  -    public synchronized void addCookies(Cookie[] newCookies)
  -    {
  +    public synchronized void addCookies(Cookie[] newCookies) {
           super.addCookies(newCookies);
       }
   
  @@ -106,8 +102,7 @@
        *
        * @return an array containing all the cookies
        */
  -    public synchronized Cookie[] getCookies()
  -    {
  +    public synchronized Cookie[] getCookies() {
           return super.getCookies();
       }
   
  @@ -116,8 +111,8 @@
        *
        * @return all cookies matching the given parameters.
        */
  -    public synchronized Cookie[] getCookies(String domain, int port, String path, boolean
secure, Date now)
  -    {
  +    public synchronized Cookie[] getCookies(String domain, int port, 
  +        String path, boolean secure, Date now) {
           return super.getCookies(domain, port, path, secure, now);
       }
   
  @@ -127,8 +122,7 @@
        * @param date - purge cookies prior to this date.
        * @return true if at least one cookie was purged.
        */
  -    public synchronized boolean purgeExpiredCookies(Date date)
  -    {
  +    public synchronized boolean purgeExpiredCookies(Date date) {
           return super.purgeExpiredCookies(date);
       }
   
  @@ -138,8 +132,8 @@
        * @param realm - the authentication realm
        * @param credentials - the authentication credentials
        */
  -    public synchronized void setCredentials(String realm, Credentials credentials)
  -    {
  +    public synchronized void setCredentials(String realm, 
  +        Credentials credentials) {
           super.setCredentials(realm, credentials);
       }
   
  @@ -150,8 +144,7 @@
        * @param realm - the authorization realm.
        * @return the authorizations credentials for the given realm
        */
  -    public synchronized Credentials getCredentials(String realm)
  -    {
  +    public synchronized Credentials getCredentials(String realm) {
           return super.getCredentials(realm);
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message