Changeset 18644 for gli


Ignore:
Timestamp:
2009-03-09T19:18:19+13:00 (15 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.

File:
1 edited

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 {
Note: See TracChangeset for help on using the changeset viewer.