@ -46,7 +46,6 @@ public class CrawlStart_p {
prop . put ( "crawlingIfOlderUnitMonthCheck" , "0" ) ;
prop . put ( "crawlingIfOlderUnitDayCheck" , "0" ) ;
prop . put ( "crawlingIfOlderUnitHourCheck" , "0" ) ;
prop . put ( "crawlingIfOlderUnitMinuteCheck" , "0" ) ;
if ( ( crawlingIfOlder = = - 1 ) | | ( crawlingIfOlder = = Integer . MAX_VALUE ) ) {
prop . put ( "crawlingIfOlderNumber" , "1" ) ;
prop . put ( "crawlingIfOlderUnitYearCheck" , "1" ) ;
@ -59,12 +58,9 @@ public class CrawlStart_p {
} else if ( crawlingIfOlder > = 60 * 24 ) {
prop . put ( "crawlingIfOlderNumber" , Math . round ( ( float ) crawlingIfOlder / ( float ) ( 60 * 24 ) ) ) ;
prop . put ( "crawlingIfOlderUnitDayCheck" , "1" ) ;
} else if ( crawlingIfOlder > = 60 ) {
prop . put ( "crawlingIfOlderNumber" , Math . round ( crawlingIfOlder / 60 f ) ) ;
prop . put ( "crawlingIfOlderUnitHourCheck" , "1" ) ;
} else {
prop . put ( "crawlingIfOlderNumber" , crawlingIfOlder) ;
prop . put ( "crawlingIfOlderUnit Minute Check", "1" ) ;
prop . put ( "crawlingIfOlderNumber" , Math . max ( 1 , Math . round ( crawlingIfOlder / 60 f ) ) ) ;
prop . put ( "crawlingIfOlderUnitHourCheck" , "1" ) ;
}
int crawlingDomFilterDepth = ( int ) env . getConfigLong ( "crawlingDomFilterDepth" , - 1 ) ;
prop . put ( "crawlingDomFilterCheck" , ( crawlingDomFilterDepth = = - 1 ) ? "0" : "1" ) ;