anchor.diff:  ENDCLASS.
   
   
  -CLASS zcl_abapgit_default_task IMPLEMENTATION.
  +
  +CLASS ZCL_ABAPGIT_DEFAULT_TASK IMPLEMENTATION.
  +
   
     METHOD constructor.
   
       store_current_default_task( ).
   
     ENDMETHOD.
  +
   
     METHOD get_instance.
   
  
positive.code: 
    ENDMETHOD.
  
    METHOD restore_old_default_task.
  
      IF ms_save_default_task IS INITIAL.
        " There wasn't a default transport request before
        " so we needn't restore anything.
        RETURN.
      ENDIF.
  
      CALL FUNCTION 'TR_TASK_SET'
        EXPORTING
          iv_order          = ms_save_default_task-ordernum    " Request to be s et
          iv_task           = ms_save_default_task-tasknum    " Task to be set
        EXCEPTIONS
          invalid_username  = 1
          invalid_category  = 2
          invalid_client    = 3
          invalid_validdays = 4
          invalid_order     = 5
          invalid_task      = 6
          OTHERS            = 7.
  
      IF sy-subrc <> 0.
        zcx_abapgit_exception=>raise( |Error from TR_TASK_SET { sy-subrc }| ).
      ENDIF.
  
    ENDMETHOD.
  
  
    METHOD store_current_default_task.
  
  
negative.code:                           INDEX 1.
  
    ENDMETHOD.
  ENDCLASS.
  