From 93054f821e4472a27c9031ea9cb8a453f966ec53 Mon Sep 17 00:00:00 2001 From: jannis Date: Wed, 14 Aug 2019 10:41:17 +0200 Subject: [PATCH] Update copyright --- CHANGELOG.md | 0 LICENSE => LICENSE.txt | 0 NOTICE.md | 17 ++++++++++++ README.md | 27 +++++++++++++++++++ .../fitness/ExampleInstrumentedTest.java | 21 ++++++++++++++- .../main/java/de/tadris/fitness/Instance.java | 19 +++++++++++++ .../de/tadris/fitness/LauncherActivity.java | 20 +++++++++++++- .../tadris/fitness/ListWorkoutsActivity.java | 24 +++++++++++++---- .../de/tadris/fitness/data/AppDatabase.java | 19 +++++++++++++ .../java/de/tadris/fitness/data/Workout.java | 19 +++++++++++++ .../de/tadris/fitness/data/WorkoutDao.java | 19 +++++++++++++ .../de/tadris/fitness/data/WorkoutSample.java | 19 +++++++++++++ .../de/tadris/fitness/ExampleUnitTest.java | 21 ++++++++++++++- 13 files changed, 217 insertions(+), 8 deletions(-) create mode 100644 CHANGELOG.md rename LICENSE => LICENSE.txt (100%) create mode 100644 NOTICE.md create mode 100644 README.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e69de29 diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt diff --git a/NOTICE.md b/NOTICE.md new file mode 100644 index 0000000..c6cba5a --- /dev/null +++ b/NOTICE.md @@ -0,0 +1,17 @@ +# Copyright Notices + + + + Copyright (C) 2013 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/README.md b/README.md new file mode 100644 index 0000000..3f652c8 --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +Copyright (C) 2019 Jannis Scheibe + + FitoTrack is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + FitoTrack is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + FitoTrack ist Freie Software: Sie können es unter den Bedingungen + der GNU General Public License, wie von der Free Software Foundation, + Version 3 der Lizenz oder (nach Ihrer Wahl) jeder neueren + veröffentlichten Version, weiter verteilen und/oder modifizieren. + + FitoTrack wird in der Hoffnung bereitgestellt, dass es nützlich sein wird, jedoch + OHNE JEDE GEWÄHR,; sogar ohne die implizite + Gewähr der MARKTFÄHIGKEIT oder EIGNUNG FÜR EINEN BESTIMMTEN ZWECK. + Siehe die GNU General Public License für weitere Einzelheiten. + + Sie sollten eine Kopie der GNU General Public License zusammen mit diesem + Programm erhalten haben. Wenn nicht, siehe . \ No newline at end of file diff --git a/app/src/androidTest/java/de/tadris/fitness/ExampleInstrumentedTest.java b/app/src/androidTest/java/de/tadris/fitness/ExampleInstrumentedTest.java index d012395..6774a79 100644 --- a/app/src/androidTest/java/de/tadris/fitness/ExampleInstrumentedTest.java +++ b/app/src/androidTest/java/de/tadris/fitness/ExampleInstrumentedTest.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness; import android.content.Context; @@ -7,7 +26,7 @@ import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; /** * Instrumented test, which will execute on an Android device. diff --git a/app/src/main/java/de/tadris/fitness/Instance.java b/app/src/main/java/de/tadris/fitness/Instance.java index 987d300..14ccff2 100644 --- a/app/src/main/java/de/tadris/fitness/Instance.java +++ b/app/src/main/java/de/tadris/fitness/Instance.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness; import android.content.Context; diff --git a/app/src/main/java/de/tadris/fitness/LauncherActivity.java b/app/src/main/java/de/tadris/fitness/LauncherActivity.java index ae5d926..4555857 100644 --- a/app/src/main/java/de/tadris/fitness/LauncherActivity.java +++ b/app/src/main/java/de/tadris/fitness/LauncherActivity.java @@ -1,7 +1,25 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness; import android.app.Activity; -import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class LauncherActivity extends Activity { diff --git a/app/src/main/java/de/tadris/fitness/ListWorkoutsActivity.java b/app/src/main/java/de/tadris/fitness/ListWorkoutsActivity.java index 587d6e7..ee76fc8 100644 --- a/app/src/main/java/de/tadris/fitness/ListWorkoutsActivity.java +++ b/app/src/main/java/de/tadris/fitness/ListWorkoutsActivity.java @@ -1,13 +1,27 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness; import android.app.Activity; -import android.support.v7.app.AppCompatActivity; import android.os.Bundle; -import androidx.room.Room; - -import de.tadris.fitness.data.AppDatabase; - public class ListWorkoutsActivity extends Activity { @Override diff --git a/app/src/main/java/de/tadris/fitness/data/AppDatabase.java b/app/src/main/java/de/tadris/fitness/data/AppDatabase.java index 0dd8657..eb963b8 100644 --- a/app/src/main/java/de/tadris/fitness/data/AppDatabase.java +++ b/app/src/main/java/de/tadris/fitness/data/AppDatabase.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.data; import androidx.room.Database; diff --git a/app/src/main/java/de/tadris/fitness/data/Workout.java b/app/src/main/java/de/tadris/fitness/data/Workout.java index 8a59cb8..ff2f806 100644 --- a/app/src/main/java/de/tadris/fitness/data/Workout.java +++ b/app/src/main/java/de/tadris/fitness/data/Workout.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.data; import androidx.room.Entity; diff --git a/app/src/main/java/de/tadris/fitness/data/WorkoutDao.java b/app/src/main/java/de/tadris/fitness/data/WorkoutDao.java index ea123d8..e7deef8 100644 --- a/app/src/main/java/de/tadris/fitness/data/WorkoutDao.java +++ b/app/src/main/java/de/tadris/fitness/data/WorkoutDao.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.data; import androidx.room.Dao; diff --git a/app/src/main/java/de/tadris/fitness/data/WorkoutSample.java b/app/src/main/java/de/tadris/fitness/data/WorkoutSample.java index 5ea5272..3fb3b01 100644 --- a/app/src/main/java/de/tadris/fitness/data/WorkoutSample.java +++ b/app/src/main/java/de/tadris/fitness/data/WorkoutSample.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.data; import androidx.room.ColumnInfo; diff --git a/app/src/test/java/de/tadris/fitness/ExampleUnitTest.java b/app/src/test/java/de/tadris/fitness/ExampleUnitTest.java index fb27c39..b12eb70 100644 --- a/app/src/test/java/de/tadris/fitness/ExampleUnitTest.java +++ b/app/src/test/java/de/tadris/fitness/ExampleUnitTest.java @@ -1,8 +1,27 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness; import org.junit.Test; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; /** * Example local unit test, which will execute on the development machine (host).