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=9d54cd9e75b09c2c115f14541923ce521ed44896;hb=bda37dc9784e900cb64b87af3e221e11320d9d01;hpb=f82135d919d64d4909c37c79a18e14ceba802579 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 9d54cd9e..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 Bitmap entryFavoriteIcon; - public 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