@@ -0,0 +1,408 @@
+package com.edus.apollo.common.utils;%0A%0Aimport java.lang.ref.WeakReference;%0Aimport java.util.logging.Handler;%0A%0A/**%0A * Created by PandaPan on 2016/9/3.%0A */%0Apublic abstract class WeakHandler%3CRef%3E extends Handler %7B%0A    private WeakReference%3CRef%3E mWeakRef;%0A%0A    public WeakHandler(Ref ref)%7B%0A        mWeakRef = new WeakReference%3C%3E(ref);%0A    %7D%0A%0A    public Ref getReference()%7B%0A        return mWeakRef.get();%0A    %7D%0A%7D%0A

add WeakHandler