See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| import android.content.Context; | |
| import android.support.v4.content.Loader; | |
| public final class PresenterLoader<T extends Presenter> extends Loader<T>{ | |
| private final PresenterFactory<T> factory; | |
| private T presenter; | |
| public PresenterLoader(Context context, PresenterFactory<T> factory) { | |
| super(context); |
| // | |
| // File: inotify-example.cpp | |
| // Date: July 16, 2013 | |
| // Author: Peter Krnjevic <pkrnjevic@gmail.com>, on the shoulders of many others | |
| // | |
| // This is a simple inotify sample program monitoring changes to "./tmp" directory (create ./tmp beforehand) | |
| // Recursive monitoring of file and directory create and delete events is implemented, but | |
| // monitoring pre-existing "./tmp" subfolders is not. | |
| // A C++ class containing a couple of maps is used to simplify monitoring. | |
| // The Watch class is minimally integrated, so as to leave the main inotify code |
| import java.util.ArrayList; | |
| import java.util.Iterator; | |
| import java.util.Locale; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.database.AbstractCursor; | |
| import android.database.Cursor; | |
| import android.support.v4.app.FragmentActivity; | |
| import android.text.TextUtils; |