text
stringlengths
7
995k
package br.com.javase8programmeri.operators; public class Casting { public static void main(String[] args) { // short s = 10; // char c = s; char c = 1890; long l = c; } }
package com.hjhrq1991.car.Event; import android.text.TextUtils; import com.hjhrq1991.car.Model.BasicModel; import com.hjhrq1991.car.Model.NowWeatherModel; import com.hjhrq1991.car.Model.SuggestionModel; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.Iterator; ...
/* * Copyright (c) 2016-2021 VMware Inc. or its affiliates, All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * *...
package com.huaweicloud.sdk.functiongraph.v2.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import java.util.function.Consumer; import java.util...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
package lectureNotes.lesson4.dip; import java.util.ArrayList; import java.util.List; public class DIP2 { interface Waste {} interface RecoveredWaste {} // RecyclingCenter is a high level module. It is now a reusable component since it depends // on abstraction static class RecyclingCenter { ...
package pubmed.flat; import java.util.List; import jam.flat.FlatRecord; import pubmed.article.ISSN; import pubmed.article.PMID; import pubmed.article.PubmedJournal; import pubmed.xml.PubmedArticleElement; /** * Represents a joining record containing the identifier of a * {@code PubMed} article and the journal whe...
package cn.onegroup.mobile1603.adapter; import android.content.Context; import android.content.DialogInterface; import android.support.annotation.Nullable; import android.view.View; import android.widget.ImageView; import android.widget.Toast; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.lib...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__byte_rand_postdec_54a.java Label Definition File: CWE191_Integer_Underflow.label.xml Template File: sources-sinks-54a.tmpl.java */ /* * @description * CWE: 191 Integer Underflow * BadSource: rand Set data to result of rand() * GoodSource: A har...
/* * Copyright (C) 2011 the original author or authors. * See the notice.md file distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
package com.github.gv2011.util; /*- * #%L * The MIT License (MIT) * %% * Copyright (C) 2016 - 2018 Vinz (https://github.com/gv2011) * %% * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Softwa...
/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.contracts.core; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.joda.t...
package example.service; import example.repo.Customer1907Repository; import org.springframework.stereotype.Service; @Service public class Customer1907Service { public Customer1907Service(Customer1907Repository repo) {} }
package com.wps.docs.web.viewdemo.api; import com.wps.docs.web.core.response.ResponseCode; import com.wps.docs.web.core.response.ResponseResult; import com.wps.docs.web.viewdemo.util.URLUtil; import org.springframework.beans.factory.annotation.Value; import org.springframework.web.bind.annotation.RequestMapping; impor...
/* * Copyright 2013 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package me.skiincraft.api.paladins.internal.requests.impl; import me.skiincraft.api.paladins.Paladins; import me.skiincraft.api.paladins.exceptions.RequestException; import me.skiincraft.api.paladins.internal.requests.APIRequest; import me.skiincraft.api.paladins.internal.requests.ResponseParser; import okhttp3.Call; ...
package io.quarkus.runner.bootstrap; import java.io.Closeable; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.fil...
package javajo.ponsyukey.database.entity; import org.seasar.doma.Column; import org.seasar.doma.Entity; import org.seasar.doma.Id; /** * リージョンEntity */ @Entity public class RegionEntity { @Id String id; @Column(name="country_id") String countryId; @Column(name="prefecture_id") String pref...
/* * Copyright (c) 2002-2022 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
package io.agora.framework.modules.consumers; import io.agora.capture.video.camera.VideoCaptureFrame; import io.agora.framework.modules.channels.VideoChannel; public interface IVideoConsumer { int TYPE_ON_SCREEN = 0; int TYPE_OFF_SCREEN = 1; void onConsumeFrame(VideoCaptureFrame frame, VideoChannel.Chann...
package com.kyleszombathy.sms_scheduler; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); ...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package breadthfirstsearch; import java.util.Vector; /** * * @author Carlos */ public class Vertex { private String color = "Branco"; private String name; private String parent = null; private int vt; private Vector adjacents = new Vector(); public Vertex(String nome) { this.na...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may no...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.appservice.generated; import com.azure.core.util.Context; /** Samples for Diagnostics ListSiteDetectors. */ public final class ...
package teamHTBP.LaLuzdelAlba.WorldGeneration.Features.TreeFeatures; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.block.material.Material; import net.minecraft.state.properties.BlockStateProperties; import net.minecraft.util.Direction;...
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.interestrate.swaption.method; import static org.testng.AssertJUnit.assertEquals; import org.testng.annotations.Test; import org.threeten.b...
// Total NCSS = 7 class FinallyBlock { // +1 private int x = 0; // +1 public void tryIncrement() { // +1 try { // +1 // Increment will never ...
/* * (C) Copyright 2015-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
// // ======================================================================== // Copyright (c) 1995-2016 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
package j3dio.dae; import j3dio.raw.RawFace; /** * @author Evan Shimoniak * @since 5.0 beta **/ public class DaeFace extends RawFace { public int[] normIndxs; public DaeFace(int[] vertexIndices) { super(vertexIndices); normIndxs = new int[size]; } public DaeFace(int[] vertexIndices, int[] normalIndices) {...
package club.eridani.cursa.event.decentraliized; import club.eridani.cursa.concurrent.decentralization.DecentralizedEvent; import club.eridani.cursa.event.events.render.RenderWorldEvent; public class DecentralizedRenderWorldEvent extends DecentralizedEvent<RenderWorldEvent> { public static DecentralizedRenderWorl...
package org.apache.helix.controller.rebalancer; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apa...
/* * Copyright 2017 Patrizio Bruno <desertconsulting@gmail.com>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
package com.google.codeu.servlets; import com.google.codeu.data.Datastore; import com.google.codeu.data.Message; import com.google.codeu.data.Reply; import com.google.codeu.data.User; import com.google.gson.Gson; import java.io.IOException; import java.util.List; import javax.servlet.annotation.WebServlet; import java...
package io.boomerang.quartz; import java.io.IOException; import java.util.Properties; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.config.PropertiesFactoryBean; import org.springframework.boot.autoconf...
/* * Portions created by Kaazing are Copyright (c) 2014 Kaazing Corporation. * All rights reserved. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright own...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
package com.u8.server.sdk.ysdk; import com.u8.server.cache.UApplicationContext; import com.u8.server.constants.PayState; import com.u8.server.data.UOrder; import com.u8.server.log.Log; import com.u8.server.service.UOrderManager; import com.u8.server.utils.TimeUtils; import com.u8.server.web.pay.SendAgent; import net.s...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package android.arch.lifecycle; import android.app.Service; import android.content.Intent; import android.os.IBinder; // Referenced classes of package an...
package com.BibleQuote.bqtj.android.utils; import com.BibleQuote.bqtj.utils.Log; import com.BibleQuote.bqtj.utils.ILogSys; /** * Created with IntelliJ IDEA. * User: Nikita K. * Date: 17.11.13 * Time: 0:12 * To change this template use File | Settings | File Templates. */ public class LogSysAndroid implements IL...
package com.flash3388.frc.nt.beans; import com.beans.BooleanProperty; import edu.wpi.first.networktables.NetworkTableEntry; import edu.wpi.first.networktables.NetworkTableType; import edu.wpi.first.networktables.NetworkTableValue; import java.util.Objects; public class NtBooleanProperty extends NtPropertyBase implem...
/* * Copyright 2014 Adam Mackler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/** * Copyright 2016-2021 The Reaktivity Project * * The Reaktivity Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2...
/* * (c) Copyright 2017 Palantir Technologies Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
/* * Created on Oct 18, 2010 * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writ...
package net.kemitix.ugiggle.service; public interface UGiggleConfig { String getSlushBoard(); String getSlushList(); String getRecipient(); String getTargetName(); String getAmazonSesRegion(); String getSender(); }
/* * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
package library.repository.actionsImpl; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.UUID; import library.Author; import library.Book; import library.Publisher; import library....
/***************************************************************************** * OnEqualizerBarChangeListener.java ***************************************************************************** * Copyright © 2013 VLC authors and VideoLAN * * This program is free software; you can redistribute it and/or modify * it...
package de.perdian.flightlog.modules.airports.persistence; public interface AirportsRepository { AirportEntity loadAirportByIataCode(String iataAirportCode); }
/** * Copyright 2015-2016 Red Hat, Inc, and individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
package com.xwintop.xTransfer.sender.bean; import lombok.Getter; import lombok.Setter; import lombok.ToString; /** * @ClassName: SenderConfigKafka * @Description: Kafka发送配置 * @author: xufeng * @date: 2018/4/11 11:05 */ @Getter @Setter @ToString public class SenderConfigKafka implements SenderConfig { privat...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package cn.woodwhales.common.example.model.business.collection; import lombok.AllArgsConstructor; import lombok.Data; /** * @author woodwhales on 2021-07-25 12:13 */ @Data @AllArgsConstructor public class CollectionMathResultTempData2 { private String id; private String name; }
/* * ModeShape (http://www.modeshape.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
/** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (4.2.3-SNAPSHOT). * https://openapi-generator.tech * Do not edit the class manually. */ package org.openapitools.virtualan.api; import java.math.BigDecimal; import org.openapitools.virtualan.model.Client; import org.open...
import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; class SampleTest { @Test void sample() { assertEquals(1, Palindromes.longestPalindrome("a")); assertEquals(2, Palindromes.longestPalindrome("aa")); assertEquals(2, Palindromes.longestPalindrome("baa")); ...
package processing; public class GraphvizException extends Exception { }
/* * An XML document type. * Localname: DateTimeFormat * Namespace: http://schemas.microsoft.com/xrm/2011/Metadata * Java type: com.microsoft.schemas.xrm._2011.metadata.DateTimeFormatDocument * * Automatically generated - do not modify. */ package com.microsoft.schemas.xrm._2011.metadata.impl; /** * A document ...
package org.openimmunizationsoftware.cdsi; import org.apache.wicket.util.time.Duration; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.bio.SocketConnector; import org.eclipse.jetty.server.ssl.SslSocketConnector; import org.eclipse.jetty.util.resource.Resource; import org.eclipse.jetty.util.ssl...
/*** Copyright (c) 2013-2015 CommonsWare, LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable law or agreed to in w...
package es.upm.miw.apaw_ep_festivals.band_resource; import org.springframework.data.mongodb.repository.MongoRepository; public interface BandDao extends MongoRepository<Band, String> { }
package com.xianyue.basictype.concurrent.test; import java.util.concurrent.ConcurrentHashMap; /** * @author Xianyue */ public class ConcurrentMapSample { private static void ifAbsentDemo() { ConcurrentHashMap<String,String> map = new ConcurrentHashMap(); String temp = map.putIfAbsent("yue","comp...
/* * Copyright (c) 2016 Network New Technologies Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * You may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * di...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
/* * Copyright 2017 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
/* ================================================================== * Created [2009-7-7] by Jon.King * ================================================================== * TSS * ================================================================== * mailTo:boubei@163.com * Copyright (c) boubei.com, 2015-20...
package test; import com.apollographql.apollo3.ApolloCall; import com.apollographql.apollo3.ApolloClient; import com.apollographql.apollo3.api.Adapter; import com.apollographql.apollo3.api.ApolloResponse; import com.apollographql.apollo3.api.CompiledField; import com.apollographql.apollo3.api.CustomScalarAdapters; imp...
package org.jboss.resteasy.reactive.server.processor.scanning; import java.util.Collection; import java.util.List; import java.util.function.Function; import javax.ws.rs.Priorities; import org.jboss.jandex.AnnotationInstance; import org.jboss.jandex.ClassInfo; import org.jboss.jandex.DotName; import org.jboss.jandex.I...
package ch.mrs.matrix.feature; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedExc...
import java.io.*; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class SerializeArrayList { public static void main(String[] args) { String outputPath = "./resources/list.ser"; List<Double> doubles = new ArrayList<>(); Collections.addAll(doubles, 11....
package com.wintergames.game1.base; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpRequest; import org.springframework.http.client.ClientHttpRequestExecution; import org.springframework.http.client.ClientHttpRequestInterceptor; import org.springframework.http.client.Client...
/* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.lindzh.hasting.webui.dao; import com.lindzh.hasting.webui.pojo.ServiceProviderInfo; import org.apache.ibatis.annotations.Param; /** * @author AutoGenerated by lindzh * 2016年12月15日 16:55 */ public interface ServiceProviderInfoDao { public int addServiceProviderInfo(ServiceProviderInfo obj); public S...
/** * Copyright 2018 Dingfan Zhao * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
package ij.plugin; import ij.*; import ij.gui.*; import java.io.*; import ij.util.Tools; /** This plugin implements the Edit/Options/Memory command. */ public class Memory implements PlugIn { String s; int index1, index2; File f; boolean fileMissing; boolean sixtyFourBit; public void run(String arg) { change...
package com.eu.habbo.messages.incoming.trading; import com.eu.habbo.habbohotel.rooms.RoomTrade; import com.eu.habbo.habbohotel.users.Habbo; import com.eu.habbo.messages.incoming.MessageHandler; public class TradeUnAcceptEvent extends MessageHandler { @Override public void handle() throws Exception { ...
package canalyzer.utilities.log; import org.jetbrains.annotations.NotNull; import java.time.Instant; public class LogOp { /** * Compare two apps timestamps * @param app1 first app timestamp * @param app2 second app timestamp * @return return 0 if the two argument are equals, returns less tha...
package com.robod.aspect; import com.robod.entity.SearchEntity; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; import org.aspectj.lang.annotation.Pointcut; import org.springframework.stereotype.Component; import org.springframework.ui.Model; import org.springframework.util.String...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.network.v2018_06_01.implementation; import com.m...
package de.mbe1224.utils.infrastructure; import org.apache.zookeeper.client.FourLetterWordMain; import org.apache.zookeeper.server.quorum.Election; import org.apache.zookeeper.server.quorum.QuorumPeer; import org.apache.zookeeper.test.ClientBase; import org.apache.zookeeper.test.JMXEnv; import org.slf4j.Logger; import...
package com.yangsx95.notes.spring.ioc.applicationContext.config; import org.springframework.context.annotation.Configuration; @Configuration public class OtherConfig { }
package org.singledog.dogmall.oms.controller; import java.util.List; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.singledog.dogmall.core.request.PageRequest; import org.singledog.dogmall.core.response.Response; import org.singledog.dogmall.core.response.ResponseFactory; im...
// Modifications copyright (C) 2017, Baidu.com, Inc. // Copyright 2017 The Apache Software Foundation // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. ...
package com.ecsteam.cloud.rabbitmq; import java.io.IOException; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import org.apache.commons.lang3.RandomUtils; public class RMQProducer extends RMQConnection { ScheduledFuture<?> publishFuture; public RMQProducer() { super(); } ...
package org.smartregister.chw.actionhelper; import android.content.Context; import com.vijay.jsonwizard.constants.JsonFormConstants; import org.apache.commons.lang3.StringUtils; import org.json.JSONArray; import org.json.JSONObject; import org.smartregister.chw.anc.actionhelper.HomeVisitActionHelper; import org.smar...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
/* Copyright 2002-2007 MySQL AB, 2008 Sun Microsystems All rights reserved. Use is subject to license terms. The MySQL Connector/J is licensed under the terms of the GPL, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPL as it is applied to this software, see th...
/* * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package com.bulain.oauth.service; import java.util.Arrays; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.cache.annotation.Cacheable; import org.springframework.stereotype.Service; import com.bulain.oauth.pojo.User; @Service public class UserServiceImpl im...
/* * Copyright 2008-2010 LinkedIn, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package com.netspi.awssigner.model; import com.netspi.awssigner.credentials.CommandCredentialFetcher; import com.netspi.awssigner.credentials.SignerCredentialException; import com.netspi.awssigner.credentials.SigningCredentials; import java.util.Optional; public class CommandProfile extends AbstractCachingProfile { ...
/* * Copyright © 2018 Apple Inc. and the ServiceTalk project authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
/* * Copyright (c) 1998-2021 John Caron and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.grid; import org.junit.Test; import org.junit.experimental.categories.Category; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; impo...