From: <ed...@mx...> - 2003-02-04 13:15:25
|
edwin 03/02/04 08:23:31 Modified: openpgp/src/cryptix/openpgp/util PGPArmoury.java Log: Make dashprotect methods public. Revision Changes Path 1.21 +4 -4 projects/openpgp/src/cryptix/openpgp/util/PGPArmoury.java Index: PGPArmoury.java =================================================================== RCS file: /home/cryptix-cvs/cvsroot/projects/openpgp/src/cryptix/openpgp/util/PGPArmoury.java,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- PGPArmoury.java 30 Jan 2003 13:11:38 -0000 1.20 +++ PGPArmoury.java 4 Feb 2003 13:23:30 -0000 1.21 @@ -1,4 +1,4 @@ -/* $Id: PGPArmoury.java,v 1.20 2003/01/30 13:11:38 edwin Exp $ +/* $Id: PGPArmoury.java,v 1.21 2003/02/04 13:23:30 edwin Exp $ * * Copyright (C) 1995-2001 The Cryptix Foundation Limited. * All rights reserved. @@ -26,7 +26,7 @@ /** * Methods for armouring and dearmouring of messages and other objects. * - * @version $Revision: 1.20 $ + * @version $Revision: 1.21 $ * @author Jill Baker * @author Ian Brown * @author Gary Howland @@ -472,7 +472,7 @@ * @param s text to be encoded * @return dash-proteced text */ - static String dashProtect(String s) + public static String dashProtect(String s) { int startPos = 0; int len = s.length(); @@ -501,7 +501,7 @@ * @param s dash-proteced text to be decoded * @return text with dash-protection removed */ - static String undashProtect(String s) + public static String undashProtect(String s) { int startPos = (s.startsWith("- ")) ? 2 : 0; int len = s.length(); |