Skip to content

Commit

Permalink
Update CrimeLab.java
Browse files Browse the repository at this point in the history
  • Loading branch information
OrlovAlexander85 authored Jun 21, 2024
1 parent 0a751e1 commit bf1a17c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/ru/orlovph/criminalintent2020/CrimeLab.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ public class CrimeLab {

private Context mContext;
private SQLiteDatabase mDatabase;

// Sonar Security rule test
String className = System.getProperty("messageClassName");
Class clazz = Class.forName(className);

public static CrimeLab get(Context context) {
if (sCrimeLab == null) {
Expand Down

0 comments on commit bf1a17c

Please sign in to comment.