Revision: 15565
Author: baranowb
Date: Tue Nov 30 01:04:21 2010
Log: [SS7] Remove unused/commented code from TRA - this is leftover.
http://code.google.com/p/mobicents/source/detail?r=15565

Modified:
/trunk/protocols/ss7/mtp/mtp-impl/src/main/java/org/mobicents/protocols/ss7/mtp/Mtp3.java

=======================================
--- /trunk/protocols/ss7/mtp/mtp-impl/src/main/java/org/mobicents/protocols/ss7/mtp/Mtp3.java Tue Nov 30 00:47:52 2010 +++ /trunk/protocols/ss7/mtp/mtp-impl/src/main/java/org/mobicents/protocols/ss7/mtp/Mtp3.java Tue Nov 30 01:04:21 2010
@@ -75,7 +75,7 @@
     // ss7 has subservice as 1, q704 shows the same iirc
     //private int subservice = -1;
     //private int service;
-    private static final int DEFAULT_SUB_SERVICE_TRA = 0xC;
+

     // //////////////////////////
     // SLTM pattern for inits //
@@ -482,14 +482,10 @@
     }

     private void restartTraffic(Mtp2 link) {
-        //int subservice = link.getSubService();
-        //if (subservice == -1) {
-        int subservice = DEFAULT_SUB_SERVICE_TRA;
-        //}
+
         byte[] buffer = new byte[6];
         writeRoutingLabel(buffer, 0, this.ni, 0, dpc, opc);
-        // buffer[0] = (byte) (_SERVICE_TRA | ( subservice << 4));
-        //buffer[0] = (byte) 0x00;
+
         // H0 and H1, see Q.704 section 15.11.2+
         buffer[5] = 0x17;
         link.send(buffer, buffer.length);

Reply via email to