mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-27 15:15:30 +00:00
stuff
This commit is contained in:
26
app/J/ProtocolAdapterFactory.java
Normal file
26
app/J/ProtocolAdapterFactory.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package J;
|
||||
|
||||
import G.F;
|
||||
|
||||
public class ProtocolAdapterFactory {
|
||||
private static ProtocolAdapterFactory a = null;
|
||||
|
||||
public static ProtocolAdapterFactory a() {
|
||||
if (a == null)
|
||||
a = new ProtocolAdapterFactory();
|
||||
return a;
|
||||
}
|
||||
|
||||
public void a(F paramF, int paramInt) {
|
||||
if (paramInt > 0 && !(paramF.D() instanceof CrcEnvelopeDecoder))
|
||||
paramF.a(new CrcEnvelopeDecoder());
|
||||
if (paramInt > 0 && !(paramF.C() instanceof CrcEnvelopeEncoder))
|
||||
paramF.a(new CrcEnvelopeEncoder());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/J/c.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
Reference in New Issue
Block a user