X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fstoutner%2Fprivacybrowser%2Fdefinitions%2FHistory.java;h=1b0e44817e373e287995f8cb961e9f067875717c;hp=f37ee7c797daff4c574c335b4d9107eb2c95261a;hb=bda37dc9784e900cb64b87af3e221e11320d9d01;hpb=49655ec36b1119810105b04a81e7ef38933213f0 diff --git a/app/src/main/java/com/stoutner/privacybrowser/definitions/History.java b/app/src/main/java/com/stoutner/privacybrowser/definitions/History.java index f37ee7c7..1b0e4481 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/definitions/History.java +++ b/app/src/main/java/com/stoutner/privacybrowser/definitions/History.java @@ -1,5 +1,5 @@ /* - * Copyright © 2016-2017 Soren Stoutner . + * Copyright © 2016-2017,2021 Soren Stoutner . * * This file is part of Privacy Browser . * @@ -21,15 +21,15 @@ package com.stoutner.privacybrowser.definitions; import android.graphics.Bitmap; -// Create a `History` object. +// Create a History object. public class History { - // Create the `History` package-local variables. - public final Bitmap entryFavoriteIcon; - public final String entryUrl; + // Declare the class variables. + public final Bitmap favoriteIcon; + public final String url; - public History(Bitmap entryFavoriteIcon, String entryUrl){ - // Populate the package-local variables. - this.entryFavoriteIcon = entryFavoriteIcon; - this.entryUrl = entryUrl; + public History(Bitmap favoriteIcon, String url){ + // Populate the class variables. + this.favoriteIcon = favoriteIcon; + this.url = url; } } \ No newline at end of file