Changeset 18644

Show
Ignore:
Timestamp:
09.03.2009 19:18:19 (10 years ago)
Author:
ak19
Message:

Instead of using sun's BASE64Encoder on fedora login (which throws warnings), uses the Base64 class in Greenstone's feedback package.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/Gatherer.java

    r18131 r18644  
    4343import org.greenstone.gatherer.collection.CollectionManager; 
    4444import org.greenstone.gatherer.feedback.ActionRecorderDialog; 
     45import org.greenstone.gatherer.feedback.Base64; 
    4546import org.greenstone.gatherer.file.FileManager; 
    4647import org.greenstone.gatherer.file.FileAssociationManager; 
     
    918919        String login_str = username + ":" + password; 
    919920         
    920         String login_encoding = new sun.misc.BASE64Encoder().encode(login_str.getBytes()); 
     921        String login_encoding = Base64.encodeBytes(login_str.getBytes()); 
    921922                 
    922923        try {