Skip to content

Commit

Permalink
Java InstrumentedTests clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
HubbleCommand committed Jul 20, 2024
1 parent 4e10611 commit 161a7f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class NonSerializableType { }

@Test
public void testJavaIncompatibleType() throws IOException, ClassNotFoundException {
//This will not compile, as NonSerializableType does not implement Serializable
//As expected , the following will not compile, as NonSerializableType does not implement Serializable
//PreferenceUtils.Preference<NonSerializableType> INCOMPATIBLE = new PreferenceUtils.Preference<>("int", new NonSerializableType());

//Primitives supported by SharedPreferences will work as expected
Expand Down

0 comments on commit 161a7f2

Please sign in to comment.