Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building the Prefetching LIbrary return warnings regarding the Room DB classes #31

Closed
sshann opened this issue May 22, 2020 · 1 comment
Labels
project:library Issues related to the prefetch library for Android

Comments

@sshann
Copy link
Collaborator

sshann commented May 22, 2020

Output from Build > Make Project

> Task :android_prefetching_lib:compileDebugJavaWithJavac
/home/sshann/Documents/thesis/NAPPA/Prefetching-Library/android_prefetching_lib/src/main/java/nl/vu/cs/s2group/room/dao/UrlCandidateDao.java:37: warning:  nl.vu.cs.s2group.room.dao.UrlCandidateDao.UrlCandidateToUrlParameter has some fields [idActivity] which are not returned by the query. If they are not supposed to be read from the result, you can mark them with @Ignore annotation. You can suppress this warning by annotating the method with @SuppressWarnings(RoomWarnings.CURSOR_MISMATCH). Columns returned by the query: id, count, urlOrder, type, urlPiece. Fields in nl.vu.cs.s2group.room.dao.UrlCandidateDao.UrlCandidateToUrlParameter: id, idActivity, count, urlOrder, type, urlPiece.
    List<UrlCandidateToUrlParameter> getCandidatePartsListForActivity(Long idAct);
                                     ^
/home/sshann/Documents/thesis/NAPPA/Prefetching-Library/android_prefetching_lib/src/main/java/nl/vu/cs/s2group/room/PrefetchingDatabase.java:24: warning: Schema export directory is not provided to the annotation processor so we cannot export the schema. You can either provide `room.schemaLocation` annotation processor argument OR set exportSchema to false.
public abstract class PrefetchingDatabase extends RoomDatabase {
                ^
Note: /home/sshann/Documents/thesis/NAPPA/Prefetching-Library/android_prefetching_lib/src/main/java/nl/vu/cs/s2group/PrefetchingLib.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 warnings
@sshann sshann added the project:library Issues related to the prefetch library for Android label May 22, 2020
@sshann sshann changed the title Building the Prefetching LIbrary return deprecated API warnings Building the Prefetching LIbrary return warnings regarding the Room DB classes Jul 10, 2020
@sshann
Copy link
Collaborator Author

sshann commented Jul 10, 2020

Replaced by #97

@sshann sshann closed this as completed Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project:library Issues related to the prefetch library for Android
Projects
None yet
Development

No branches or pull requests

1 participant