diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2011-11-01 15:08:35 +0100 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2011-11-01 15:08:35 +0100 |
commit | c046b4910184a09b356f0ceda0d67d783a8d232a (patch) | |
tree | 403ab9910740c01e31da392d3b0313ad641ee02b /main/src/cgeo/geocaching/network | |
parent | cab454571a8cb532daae3b211d089faf1ea590d8 (diff) | |
download | cgeo-c046b4910184a09b356f0ceda0d67d783a8d232a.zip cgeo-c046b4910184a09b356f0ceda0d67d783a8d232a.tar.gz cgeo-c046b4910184a09b356f0ceda0d67d783a8d232a.tar.bz2 |
Update log messages to reflect the source class name
Diffstat (limited to 'main/src/cgeo/geocaching/network')
-rw-r--r-- | main/src/cgeo/geocaching/network/HtmlImage.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/src/cgeo/geocaching/network/HtmlImage.java b/main/src/cgeo/geocaching/network/HtmlImage.java index 4e996e3..59aa002 100644 --- a/main/src/cgeo/geocaching/network/HtmlImage.java +++ b/main/src/cgeo/geocaching/network/HtmlImage.java @@ -94,7 +94,7 @@ public class HtmlImage implements Html.ImageGetter { bufferedEntity = new BufferedHttpEntity(httpResponse.getEntity()); } } catch (Exception e) { - Log.e(Settings.tag, "cgHtmlImg.getDrawable (downloading from web)", e); + Log.e(Settings.tag, "HtmlImage.getDrawable (downloading from web)", e); } } @@ -115,7 +115,7 @@ public class HtmlImage implements Html.ImageGetter { // get image and return if (imagePre == null) { - Log.d(Settings.tag, "cgHtmlImg.getDrawable: Failed to obtain image"); + Log.d(Settings.tag, "HtmlImage.getDrawable: Failed to obtain image"); if (returnErrorImage) { imagePre = BitmapFactory.decodeResource(context.getResources(), R.drawable.image_not_loaded); @@ -138,7 +138,7 @@ public class HtmlImage implements Html.ImageGetter { try { imagePre = Bitmap.createScaledBitmap(imagePre, width, height, true); } catch (Exception e) { - Log.d(Settings.tag, "cgHtmlImg.getDrawable: Failed to scale image"); + Log.d(Settings.tag, "HtmlImage.getDrawable: Failed to scale image"); return null; } } else { @@ -162,7 +162,7 @@ public class HtmlImage implements Html.ImageGetter { final File fileSec = LocalStorage.getStorageSecFile(geocode, url, true); return loadCachedImage(fileSec); } catch (Exception e) { - Log.w(Settings.tag, "cgHtmlImg.getDrawable (reading cache): " + e.toString()); + Log.w(Settings.tag, "HtmlImage.getDrawable (reading cache): " + e.toString()); } return null; } @@ -180,7 +180,7 @@ public class HtmlImage implements Html.ImageGetter { } } } catch (Exception e) { - Log.e(Settings.tag, "cgHtmlImg.makeAbsoluteURL (parse URL)", e); + Log.e(Settings.tag, "HtmlImage.makeAbsoluteURL (parse URL)", e); } return null; } |