Bug=61977

author=ashuk
Fix changes CurrentPageImpl.java and fixes leading "null" from
getPageSource and getPageSourceBytes


git-svn-id: svn://10.0.0.236/trunk@94239 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ashuk%eng.sun.com
2001-05-08 16:58:36 +00:00
parent 9d299d36ce
commit e6bf2143fd

View File

@@ -152,7 +152,7 @@ public Properties getPageInfo()
public String getSource()
{
myFactory.throwExceptionIfNotInitialized();
String HTMLContent = null;
String HTMLContent;
String currURL = getCurrentURL();
System.out.println("\nThe Current URL is -- " + currURL);
try {
@@ -185,7 +185,7 @@ public byte [] getSourceBytes()
myFactory.throwExceptionIfNotInitialized();
String HTMLContent = null;
String HTMLContent;
String currURL = getCurrentURL();
System.out.println("\nThe Current URL is -- " + currURL);
try {
@@ -268,7 +268,7 @@ public static void main(String [] args)
Assert.setEnabled(true);
Log.setApplicationName("CurrentPageImpl");
Log.setApplicationVersion("0.0");
Log.setApplicationVersionDate("$Id: CurrentPageImpl.java,v 1.12 2001-05-08 04:50:29 edburns%acm.org Exp $");
Log.setApplicationVersionDate("$Id: CurrentPageImpl.java,v 1.13 2001-05-08 16:58:36 ashuk%eng.sun.com Exp $");
}