id
stringlengths
7
14
text
stringlengths
1
37.2k
78622784_26
ArrayList<Integer> calculateValues(int min, int max, int step) { ArrayList<Integer> result = new ArrayList<>(); int pos = min; while (pos <= max) { result.add(pos); pos += step; } // Set max Y axis label in case isn't already there if (result.get(result.size() - 1) < max) result.add(pos); return result; }
78670243_3
@Bean @Override public SpringJCSMPFactory getSpringJCSMPFactory() { return getSpringJCSMPFactory(findFirstSolaceServiceCredentialsImpl()); }
78735130_2
public List<String> getTopContextWordsInYear(final String corpusName, final String table, final String word, final Integer year, final int limit) { final Corpus corpus = corpora.get(corpusName); final List<String> words = new ArrayList<>(); if (!corpus.hasMappingFor(word) || (year == null)) return words; fina...
78753723_0
@Override @Nullable VideoInfoImpl createInfo(@NonNull Response response) throws IOException { JsonObject data = getData(response.body().string()); if (data == null) return null; checkError(data); String title = getTitle(data); Map<Integer, Stream> streamMap = getSegMap(data); LogUtil.d(TAG, "hd ...
78756665_3
@Override public Set<Link> parse(ParseContext context) throws IOException { DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance(); try { DocumentBuilder dBuilder = dbFactory.newDocumentBuilder(); Document doc = dBuilder.parse(new File(context.getFileName())); Node root = doc.getDocume...
78756993_29
@Override public boolean addAll(int index, Collection<? extends T> c) { return elements.addAll(index, c); }
78768320_0
static boolean isTraced(HttpServletRequest httpServletRequest) { // exclude pattern, span is not started in filter return httpServletRequest.getAttribute(TracingFilter.SERVER_SPAN_CONTEXT) instanceof SpanContext; }
78774547_9
@Override public FilterReply decide(ILoggingEvent event) { Marker eventMarker = event.getMarker(); if (isStarted() && eventMarker != null && eventMarker.contains(MetricPassFilter.METRIC_MARKER)) { return FilterReply.DENY; } return FilterReply.NEUTRAL; }
78776301_3
@Override public void onRequest(HttpServletRequest httpServletRequest, Span span) { for (HeaderEntry headerEntry : allowedHeaders) { String headerValue = httpServletRequest.getHeader(headerEntry.getHeader()); if (headerValue != null && !headerValue.isEmpty()) { buildTag(headerEntry.getTa...
78808033_1
@Override public void incrementNumber() { Timber.d("Incrementing number"); int value = 1; getInteractor().incrementNumberBy(value); numberUpdateYoke.changeNumber(value); }
78842132_808
public List<Message> getFilteredMessages(MessageSearchCriteria searchCriteria) { List<Message> messages = getMessages(searchCriteria); if (searchCriteria.isModuleAbsent()) { return messages.parallelStream() .filter(e -> e.getLocale().equals(searchCriteria.getLocale()) && e.getTenant().equals(searchCriteri...
78844772_0
@Override public void bind(NaviFragment fragment) { Timber.tag(getClass().getSimpleName()); this.naviComponent = fragment; this.initFragment(); }
78846472_0
@Override public void onBindChange(@Nullable View view) { super.onBindChange(view); onView(v -> v.showBinderCounter(++bindCounter)); onView(v -> { if (doInit) { doInit = false; v.showFragment(startingFragment); } }); }
78859100_2
public boolean login(String username, String password) { List<String> permissions = apiClient.authenticate(username, password); return permissions.contains("ADMIN"); }
78946145_6
public JsonEvent getNextEvent() { if (rdr == null) { return JsonEvent.Type.EOF; } try { int ic = nextChar(); char nc = (char)ic; while (ic != -1 && Character.isWhitespace(nc)) { ic = nextChar(); nc = (char)ic; } if (ic == -1) { ...
78957876_6
public static String generateOAS3Definitions(String ballerinaSource, String serviceName) throws IOException, SwaggerConverterException { //Create empty swagger object. Swagger swagger = new Swagger(); String swaggerSource; BallerinaFile ballerinaFile = lsCompiler.compileContent(ballerinaSource, ...
78969853_5
@Override public Observable<List<MakeUp>> searchMakeUp(final String brandName, final String productName) { return Observable.defer(() -> makeUpProductRestService.searchMakeUpProducts(brandName, productName)) .retryWhen(observable -> observable.flatMap(o -> { if (o instanceof ...
79060427_1213
@Override public ItemStatus execute(WorkerParameters params, HandlerIO ioParam) { checkMandatoryParameters(params); handlerIO = ioParam; final ItemStatus globalCompositeItemStatus = new ItemStatus(HANDLER_ID); UnitType workflowUnitType = getUnitType(); try (LogbookLifeCyclesClient lifeCycleClient ...
79065628_16
public static Observable<AsyncN1qlQueryRow> executeN1qlQuery(AsyncBucket bucket, N1qlQuery query) { log.debug("Executing query: {}.", query.statement()); return bucket.query(query) .map(result -> Tuple.create(query, result)) .flatMap(tuple1 -> { AsyncN1qlQueryResult resu...
79096342_1
@RequestMapping(value = "create", method = RequestMethod.POST) @ResponseBody public ResponseEntity<BookingServiceResponseDTO> create(@RequestBody BookingServiceRequestDTO bookingRequestDTO, HttpServletRequest request) { LOGGER.debug(LOGGER.isDebugEnabled() ? ...
79107120_1
public PageSearch templates(String... resourceTypes) { query().bool().filter().terms("cq:template", resourceTypes); return this; }
79112912_0
NamedList<Object> actionFIX(SolrParams params) throws JSONException { String requestedCoreName = coreName(params); var wrapper = new Object() { final NamedList<Object> response = new SimpleOrderedMap<>(); }; if (isNullOrEmpty(requestedCoreName)) { return wrapper.response; }...
79124323_22
public Observable<OpenOrders> getOpenOrders(CurrencyPair currencyPair) { return getOrderUpdates(currencyPair) .map( u -> u.getAllOpenOrders().values().stream() .filter(order -> order instanceof LimitOrder) .map(order -> (LimitOrder) order) ...
79145090_11
@RestrictTo(RestrictTo.Scope.LIBRARY) Scheduler getSchedulerForJob(Context context, JobInfo job) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) { return getSchedulerForTag(context, JobSchedulerSchedulerV28.TAG); } if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { return getSchedu...
79209085_104
static PicassoKind getPicassoKind(int targetWidth, int targetHeight) { if (targetWidth <= MICRO.width && targetHeight <= MICRO.height) { return MICRO; } else if (targetWidth <= MINI.width && targetHeight <= MINI.height) { return MINI; } return FULL; }
79226461_2
@Override public void onDraw(@NonNull Canvas canvas, @NonNull RecyclerView parent, @NonNull RecyclerView.State state) { int childCount = parent.getChildCount(); for (int i = 0; i < childCount; i++) { View child = parent.getChildAt(i); int adapterPosition = parent.getChildAdapterPosition(child); if (...
79246257_6
@Override public List<List<Transmutation>> apply(List<List<Transmutation>> stageInput) { final List<Transmutation> stageResult = new ArrayList<>(); // find highest value and if present, return, also setting the message code according to specified rules stageInput.stream().flatMap(Collection::stream) ...
79266038_228
@Override public List<NativeProcess> getProcesses() { return pidEnumerator .getPids() .stream() .map(processCollector::collect) .collect(Collectors.toList()); }
79304145_0
@Override public EsDailySnapshotInstance getInstanceById(String instanceId) throws Exception { SearchResponse response = this.retrieveByField("_id", instanceId, EsDailySnapshotInstance.class); if (response.getHits().totalHits() > 0) { String str = response.getHits().getAt(0).getSourceAsString(); ...
79304189_29
public static List<Point> pointsFromString(String dbName, String payload) { List<Point> dps = new ArrayList<>(); try { Iterable<String> splits = lineFromPayLoad(payload); for (String split : splits) { Builder builder = pointFromLine(Point.newBuilder(), dbName, split); if (builder != null) { Point point ...
79344371_25
public static ThreadPoolExecutor createThreadPoolExecutor() { return new ThreadPoolExecutor(0, 5, 60L, TimeUnit.SECONDS, new SynchronousQueue<Runnable>()); }
79350243_60
@Nonnull @CheckReturnValue public static String append(@Nonnull String fileName, @Nonnull FileType fileType) { final String extension = fileType.getDefaultExtension(); if (fileName.endsWith(DELIMITER + extension)) { return fileName; } return fileName + DELIMITER + extension; }
79350640_178
public Refund refund(String eCheckId, Refund refund) throws BaseException { logger.debug("Enter ECheckService::refund"); if (StringUtils.isBlank(eCheckId)) { logger.error("IllegalArgumentException {}", eCheckId); throw new IllegalArgumentException("eCheckId cannot be empty or null"); } // prepare API url S...
79360334_91
public static ArrayList<Integer> getLinesBetween(JTextPane pane, int start, int end) throws BadLocationException { int startingline = transformToLineNumber(pane, start); ArrayList<Integer> lines = new ArrayList<>(); lines.add(startingline); String code = getText(pane); for(; start < end; ++start) { ...
79403493_0
public MultiValue(byte[]... values) { this(Arrays.asList(values)); }
79434101_19
public static <T extends EnumDictionary> List<T> getEnumInformation(Class<?> clazz, String codeField, String descField) { if (!clazz.isEnum()) { throw new RuntimeException(clazz.getCanonicalName() + " is not an enum class."); } Class<Enum> enumClass = (Class<Enum>) clazz; Enum[] objects = enumCl...
79436157_0
public void log(int priority, String tag, String message) { checkInitialized(); if (priority < logLevel) return; if (message == null || message.length() == 0) return; executorService.execute( new LogWritingTask( callbacks, logWriter, LogEntity.create(priority, tag, message,...
79467343_4
public static <A, B, C, D, E> Function5<A, B, C, D, E, Quintet<A, B, C, D, E>> toQuintet() { return new Function5<A, B, C, D, E, Quintet<A, B, C, D, E>>() { @Override public Quintet<A, B, C, D, E> apply(A a, B b, C c, D d, E e) { return Quintet.with(a, b, c, d, e); } }; }
79483816_1
@Override public void afterError(Request<?> request, Response<?> response, Exception e) { if (request.getOriginalRequestObject() instanceof PublishRequest) { Span span = tracing.tracer().nextSpan() .remoteEndpoint(Endpoint.newBuilder().serviceName(SERVICE_NAME).build()) .kind(Span.Kind.CLIENT) ...
79496898_9
@Override public UpdatePackageInfo findNewUpdateIfAvailable() throws GenericException { try { String currentVersion = getCurrentVersion(); if (VERSION_UNRESOLVED.equals(currentVersion) || DEV_VERSION.equals(currentVersion)) { // not spamming github during development runs log.info("DEV mode detected -- not s...
79514986_1
public static Configure reader(String configueFileName) throws DocumentException { logger.info("Begin read configure[{}]", configueFileName); Configure configure = new Configure(); SAXReader reader = new SAXReader(); File file = new File(configueFileName); Document document = reader.read(file); ...
79539593_6
@Override public <P extends PublishedEvent> EventKey recordAndPublish(P publishedEvent) throws EventStoreException, ConcurrentEventException { return recordAndPublishInternal(publishedEvent, Optional.empty(), entityEvent -> new DefaultConcurrencyResolver()); }
79564911_1340
@Override public AttributedList<Path> list(final Path directory, final ListProgressListener listener) throws BackgroundException { try { final AttributedList<Path> children = new AttributedList<Path>(); final int limit = PreferencesFactory.get().getInteger("openstack.list.object.limit"); Str...
79602914_10
@Nullable public Location getLocation() { if (isPermissionGranted()) { return getRootRequest().device.location; } else { return null; } }
79638652_6
@Override public ClientDetails findClientDetails(String clientId) { final String sql = " select * from oauth_client_details where archived = 0 and client_id = ? "; final List<ClientDetails> list = jdbcTemplate.query(sql, clientDetailsRowMapper, clientId); return list.isEmpty() ? null : list.get(0); }
79666748_1
public static <A, B> Function<A, Consumer<B>> curry(final BiConsumer<A, B> action) { return new Function<A, Consumer<B>>() { @Override public Consumer<B> apply(final A a) throws Exception { return new Consumer<B>() { @Override public void accept(final B b)...
79689164_0
public synchronized static IDGenerator generatorFor(int generatorId, int clusterId) { assertParameterWithinBounds("generatorId", 0, Blueprint.MAX_GENERATOR_ID, generatorId); assertParameterWithinBounds("clusterId", 0, Blueprint.MAX_CLUSTER_ID, clusterId); String generatorAndCluster = String.format("%d_%d", ...
79709403_0
public String getStoredMessage() throws MessageException { @SuppressWarnings("rawtypes") st messages = em.createNamedQuery("findMessages").getResultList(); if (messages.size() > 0) { Message message = (Message) messages.get(0); return "(" + message.getMessageString() + "), inside an EJB"; } ...
79723681_1
@Override public Iterable<Endpoint> listEndpoints() { List<Endpoint> endpoints = new ArrayList<>(); String basePath = findBasePath(); Map<String, Path> paths = OpenApiHelper.openApi3.getPaths(); if(log.isInfoEnabled()) log.info("Generating paths from OpenApi spec"); for (Map.Entry<String, Path> p...
79730209_4
static void sort(String[] romaji) { Arrays.sort(romaji, new GojuonOrder()); }
79736675_14
public void doBind(Object target, ViewFinder viewFinder) { Object viewHolder = getOrCreateViewHolder(target, viewFinder); TargetViewBinder targetViewBinder = getOrCreateBinder(target, viewFinder); targetViewBinder.bind(viewHolder, viewFinder, target); if (loggingEnabled && logger != null) { Str...
79741030_15
protected static int getSetBitOffset(final int mask, final int bitIndex) { int count = 0; // index of the next bit seen being set int workingMask = mask; // the left unseen bits are set int low = Integer.numberOfTrailingZeros(workingMask); workingMask >>>= low; assert (workingMask & 1) == 1 ...
79750743_0
@Override public CharSequence[] getTitleAndText(String appPackageName, Bundle extras, int notificationFlags) { DebugLog debugLog = getDebugLog(); if (isLoggingEnabled()) { debugLog.writeLog("Entered GroupSummaryMessageExtractor getTitleAndText method."); debugLog.writeLog("NotificationFlags = " ...
79943898_35
@Override public void onViewClick(final View sharedElementView, final Post post) { final Intent intent = new Intent(activity.getApplicationContext(), PostActivity.class); intent.putExtras(getExtras(post)); final ActivityOptionsCompat activityOptionsCompat = ActivityOptionsCompat .makeSceneTransi...
79946335_11
public static <IN> KeyByBuilder<IN> of(Dataset<IN> input) { return new KeyByBuilder<>("ReduceByKey", input); }
79994161_2
public static Observable<Place> onAnyPlace(Okuki okuki) { return Observable.create(new OnGlobalPlaceOnSubscribe(okuki)); }
80027205_4
static byte[] timezoneWithDstOffset(Calendar time) { // See https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.local_time_information.xml // UTC-1:00 = -4 // UTC+0:00 = 0 // UTC+1:00 = 4 int timezone = time.get(Calendar.ZONE_OFFSET) / 1000 / 60 / 15; ...
80043676_185
public Future<CommandResult> reportValue(Object value) { return cluster.reportAttribute(id, dataType, value); }
80046613_1
VcapResult parse(String vcapServices) { VcapResult result = new VcapResult(); List<VcapPojo> results = new ArrayList<VcapPojo>(); log("VcapParser.parse: vcapServices = " + vcapServices); if (vcapServices != null) { try { JSONObject json = new JSONObject(vcapServices); JSONArray names = json.names(); ...
80087888_5
public static String getSuffixYinUnU(Gender previousWordGender, char previousWordLastChar) { if (isVowel(previousWordLastChar)) { return Suffix.YIN; } else if (previousWordLastChar == Uni.NA) { if (previousWordGender == Gender.MASCULINE) { return Suffix.U; } else { ...
80098624_35
@Override public boolean isCoffeeNetAdmin() { return getAuthorities().contains(new SimpleGrantedAuthority("ROLE_COFFEENET-ADMIN")); }
80161946_0
public List<Object> fetchAndProcessData(String dateTime) throws UnirestException { Optional<JsonNode> data = loadProviderJson(dateTime); System.out.println("data=" + data); if (data != null && data.isPresent()) { JSONObject jsonObject = data.get().getObject(); int value = 100 / jsonObject.getInt("count")...
80179724_33
static void annotate( PsiElement element, BiConsumer<Collection<String>, PsiReferenceExpression> errorHandler, Function<PsiMethodCallExpression, PsiClass> generatedClassResolver) { if (element instanceof PsiDeclarationStatement) { Arrays.stream(((PsiDeclarationStatement) element).getDeclaredElements()...
80192374_0
@Override public void onServerLoginClick(String email, String password) { //validate email and password if (email == null || email.isEmpty()) { getMvpView().onError(R.string.empty_email); return; } if (!CommonUtils.isEmailValid(email)) { getMvpView().onError(R.string.invalid_emai...
80196099_77
public void parse(InputStream is) throws Exception { LOG.trace("parse()"); String baseContentType = HttpFields.valueParameters(contentType, null); if (faultAllowed && baseContentType.equalsIgnoreCase(TEXT_XML)) { parseFault(is); } else if (baseContentType.equalsIgnoreCase(MULTIPART_MIXED)) { ...
80207578_4
public String generateSimpleReport(String simpleReport) { try { return SimpleReportFacade.newFacade().generateHtmlReport(simpleReport); } catch (Exception e) { LOG.error("Error while generating simple report : " + e.getMessage(), e); return null; } }
80228150_178
public UpdatePortGroupTask create(SecurityGroup sg, NetworkElementImpl portGroup) { UpdatePortGroupTask task = new UpdatePortGroupTask(); task.securityGroup = sg; task.portGroup = portGroup; task.apiFactoryService = this.apiFactoryService; task.dbConnectionManager = this.dbConnectionManager; tas...
80229651_1
protected Duration calculateLifetime( Instant start, Instant endTime, CanaryAnalysisExecutionRequest canaryAnalysisExecutionRequest) { Duration lifetime; if (endTime != null) { lifetime = Duration.ofMinutes(start.until(endTime, MINUTES)); } else if (canaryAnalysisExecutionRequest.getLifetimeDurat...
80231323_0
public static String createMediaID(String musicID, String... categories) { StringBuilder sb = new StringBuilder(); if (categories != null) { for (int i=0; i < categories.length; i++) { if (!isValidCategory(categories[i])) { throw new IllegalArgumentException("Invalid category...
80324891_4
@Override protected String getIdPrefix() { return ID_PREFIX; }
80376233_1
@Override public String toString() { urn String.format(Locale.ENGLISH, "%f", value); }
80380022_17
public static void main(@NotNull String[] args) { try { new CDep(AnsiConsole.out, AnsiConsole.err, true).go(args, false); } catch (Throwable e) { e.printStackTrace(); System.exit(Integer.MIN_VALUE); } finally { AnsiConsole.out.close(); AnsiConsole.err.close(); } }
80403715_2
@Override public void onStart() { setLoading(); binder.bind(getAnimals(), this::setAnimals, this::setError, this::setComplete); }
80451996_127
@Override public int getCurrentDataVersion() { int result = RedirectorConstants.NO_MODEL_NODE_VERSION; if (isCacheUsageAllowed()) { ChildData data = cache.getCurrentData(); if (data != null && data.getStat() != null) { result = data.getStat().getVersion(); } } else { ...
80485636_1
public static DateTime convertLocalToDTSafely(LocalDateTime localDateTime) { DateTime convertedDT = null; try { convertedDT = localDateTime.toDateTime(); } catch (IllegalInstantException e) { boolean failed = true; int iteration = 1; while (failed) { try { ...
80501529_5
public static LogServiceRequestProto toReadLogRequestProto(LogName name, long start, int total) { LogNameProto logNameProto = LogNameProto.newBuilder().setName(name.getName()).build(); ReadLogRequestProto.Builder builder = ReadLogRequestProto.newBuilder(); builder.setLogName(logNameProto); builder.setStar...
80550868_1
@Override public CoffeeEvent deserialize(final String topic, final byte[] data) { try (ByteArrayInputStream input = new ByteArrayInputStream(data)) { final JsonObject jsonObject = Json.createReader(input).readObject(); final Class<? extends CoffeeEvent> eventClass = (Class<? extends CoffeeEvent>) Cl...
80550971_13
@Override public boolean accept(File pathname) { String pathToMatch = matchAbsolutePath ? pathname.getAbsolutePath() : pathname.getName(); return pattern.matcher(pathToMatch).matches(); }
80563893_7
public CompletableFuture<Void> begin() { if (logger.isDebugEnabled()) { logger.debug("generating load, {}", config); } return proceed().thenCompose(x -> { CompletableFuture[] futures = new CompletableFuture[config.getThreads()]; for (int i = 0; i < futures.length; ++i) { ...
80605895_2
@Override public CheckResult check() { try { // make sure compute doesn't throw an exception Future<?> registrationFuture = lazyRegisterEventProcessorFactoryWithHost.get(); registrationFuture.get(); // make sure registration succeeded return CheckResult.OK; } catch (RuntimeException e) { return ...
80643997_41
@CheckResult @NonNull public static Completable updateEmail(@NonNull FirebaseUser user, @NonNull String email) { return Completable.create(new UserUpdateEmailOnSubscribe(user, email)); }
80644284_26
@Deprecated public static <V> @NonNull HoverEvent<V> of(final @NonNull Action<V> action, final @NonNull V value) { return new HoverEvent<>(action, value); }
80648908_1
public OrderResponse chargeChard() { ResponseEntity<String> orderResponse = request(ordersHost, "/process-order"); return new OrderResponse(orderResponse); }
80652674_2
public static String getRouteMap(Position origin, Position destination, String geometry, boolean isSmall) { StaticMarkerAnnotation markerOrigin = new StaticMarkerAnnotation.Builder() .setName(com.mapbox.services.Constants.PIN_LARGE) .setPosition(origin) .setColor(COLOR_GREEN) ...
80717362_9
@Override public void onProgress(long done, long total) { if (!pending || done == total) { this.done = done; this.total = total; try { pending = true; executor.execute(this); } catch (RejectedExecutionException ignored) { pending = false; }...
80814228_44
@RequestMapping(value = "/handle81") public String handle81(@RequestParam("user") User user, ModelMap modelMap) { modelMap.put("user", user); return "/user/showUser"; }
80822758_27
public static Set<Label> getLabels(final AnnotatedElement annotatedElement) { return getLabels(annotatedElement.getDeclaredAnnotations()); }
80869640_1
public static void p(Object... args) { if (!BuildConfig.DEBUG) return; p(TextUtils.join(", ", args)); }
80874891_1
@Override public void execute(EnforcerRuleHelper helper) throws EnforcerRuleException { if (skip) { return; } String packaging = getPackaging(helper); if (!SUPPORTED_PACKAGE_TYPES.contains(packaging)) { helper .getLog() .info( String.format( "Unsupported pack...
80993243_1
public Map<File, String> analyze(boolean _ignoreDtd) throws Exception { if (_ignoreDtd) { // if dtd validation is disabled (default) docFac.setValidating(false); docFac.setNamespaceAware(true); docFac.setFeature("http://xml.org/sax/features/namespaces", false); docFac.setFeature("htt...
81002077_166
public static Optional<Class<?>> superclass(Class<?> aClass) { return Optional.ofNullable(aClass.getSuperclass()); }
81016276_22
@Override public String toString() { return "(" + getLeft() + " && " + getRight() + ")"; }
81052983_1
@Override public boolean containsValue(Object value) { return _facts.containsValue(value); }
81102463_439
public RedirectCallback convertFromJson(RedirectCallback callback, JsonValue jsonCallback) { throw new RestAuthException(Response.Status.INTERNAL_SERVER_ERROR, new UnsupportedOperationException( "RedirectCallbacks cannot be converted from JSON")); }
81125398_41
@Override public int hashCode() { return this.items.hashCode(); }
81128415_1
public HttpRequestPayload extractUrlEncodedFormPayload(HttpServletRequest request, String defaultEncoding) { byte[] encodedFormParameterBytes = encodeFormParameters(request, defaultEncoding); return ImmutableHttpRequestPayload .newBuilder() .setMissingByteCount(0) .setBytes(e...
81143147_48
@Override public Optional<? extends Fragment> fragment() { return absent(); }
81166660_0
public static JsonNode fromString(String json) { try { return DEFAULT_OBJECT_READER.readTree(json); } catch (IOException err) { return MissingNode.getInstance(); } }
81175234_41
@Override public boolean deleteImage(Long id) { return commodityImg.deleteByPrimaryKey(id) > 0; }
81186751_13
@Override protected Span adjust(Span span) { if (applyTimestampAndDuration()) { return ApplyTimestampAndDuration.apply(span); } return span; }