text
stringlengths
65
6.05M
lang
stringclasses
8 values
type
stringclasses
2 values
id
stringlengths
64
64
package com.example.semestrovka.models; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; import java.time.LocalDateTime; @Entity @Table(name="chat_messages") @AllArgsConstructor @NoArgsConstructor @Builder @Data public class Mes...
Java
CL
51f1f7652ebbd660c39351d0fb660ccb2b9922395b972fb50d6d15b93c344332
/* * 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 n...
Java
CL
d1816e786fadf334c6a89310fb20e1b06d4bfd422cb8e8b0c96c0d293103ac10
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) // Source File Name: WaitUntilFollowersArrive.java package zombie.behaviors.survivor.orders; import zombie.behaviors.Behavior; import zombie.behaviors.survivor.Satisf...
Java
CL
af1b77624173979da2a86a1f42833bb5cdc34c7f59c05c24b8e70402cb771718
package com.bytecub.mqtt.service.protocol; import com.bytecub.common.constants.BCConstants; import com.bytecub.common.domain.gateway.mq.DeviceUpMessageBo; import com.bytecub.gateway.mq.producer.DeviceReplyMessageProducer; import com.bytecub.gateway.mq.producer.DeviceUpMessageProducer; import com.bytecub.mqtt.domain.bo...
Java
CL
0ab54a9ca23a3368689f3b164e40995c28b275a1d710e6ee2f630ffba2b0d081
package org.discontinuous.discgame.abilities; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.BitmapFont; import org.discontinuous.discgame.Contestant; import org.discontinuous.discgame.SympGame; import java.util.ArrayList; /** * Created by Urk on 4/9/14. */ public class AbilityList ...
Java
CL
51c9c8ab779eb5a6254fc2d19076be00036f4754a5d9147abf31b68fa73807d6
package com.iflytek.aiuiproduct.handler.disposer; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import com.iflytek.aiui.utils.log.DebugLog; import com.iflytek.aiuiproduct.constant.ProductConstant; import com.iflytek.aiuiproduc...
Java
CL
837689e7745f18ced1bb5b2c02d667fa5678d9dedb5b41f05e4a4cd516610cee
package com.sld.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.Aut...
Java
CL
0053e121040a0d82f39641e1b264ed03cb9d70bb2efff534f9b529a9370fd7ee
package io.toolisticon.annotationconstraints.processor; import io.toolisticon.annotationconstraints.processor.testconstraint.SucceedingTestConstraintOnAnnotationAttribute; @SucceedingTestConstraintOnAnnotationAttribute("OK") public class SuccessfulConstraintOnAnnotationAttribute { }
Java
CL
1f5b2b8a3f5a6aa2b7ac91b3f2027701ec73a85155421d1ed0c8a0ccf735cb82
package com.contatos.revisao.view; import javax.swing.JDesktopPane; import javax.swing.JFrame; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; public class PrincipalView extends JFrame { /** * Creates new form Principal */ public PrincipalView() { initC...
Java
CL
3062b2e1947b79e0e31e02dadc0fba807238749bf2ee599b46ed26f21de21b12
package com.github.kakusuke.type; import java.util.Collection; import java.util.function.BiConsumer; import java.util.function.Consumer; import java.util.stream.Stream; /** * Created by kakusuke on 2014/11/30. */ public interface JsonValue { public static JsonValue valueOf(Object value) { if (value == n...
Java
CL
6512a5dc604d0e8f3bb37375847645ef74bfc64fbfed0818186bb47542386b44
package main.pluralsight.set; import java.util.Collection; import java.util.SortedSet; import java.util.TreeSet; import main.pluralsight.Product; import main.pluralsight.comparator.WeightComparator; import main.pluralsight.list.ShipableItem; /** * The catalogue can contain more than one type of items from the Shipa...
Java
CL
331e10cea2afa07f29f0f105f0dd83b3d4715a857c47abcde408f5669ebabbd7
/** * Copyright 2013-2014 Guoqiang Chen, Shanghai, China. All rights reserved. * * Email: subchen@gmail.com * URL: http://subchen.github.io/ * * 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 Licen...
Java
CL
fbcf8ad83e199cd843c54da050545915b279289bc24288290d964a54a74abec9
/******************************************************************************* * This files was developed for CS4233: Object-Oriented Analysis & Design. * The course was taken at Worcester Polytechnic Institute. * * All rights reserved. This program and the accompanying materials * are made available under the t...
Java
CL
58d8ffc59f7cc429d197fbe111c9662fdde00a4aa05c5510acfa1074818030b9
package com.artilligence.auth_server.oauth; import com.artilligence.auth_server.domains.OauthClient; import com.artilligence.auth_server.domains.OauthSession; import com.artilligence.auth_server.domains.User; import com.artilligence.auth_server.exceptions.NotFoundException; import com.artilligence.auth_server.reposito...
Java
CL
ad1513357d75ce6d0e471646accc2e1264468d47c0e5a1addfd56e5b0df73755
/** * Postmultiplies this matrix by a translation matrix. * @param trn The translation vector. * @return This matrix for the purpose of chaining. */ public Affine2 translate(Vector2 trn) { return translate(trn.x, trn.y); }
Java
CL
a09c92c5e7f9eba892e08f09f8593d83dec2b535b8f08b8dad03aea780710d1d
/** * j-Interop (Pure Java implementation of DCOM protocol) * * Copyright (c) 2013 Vikram Roopchand * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.e...
Java
CL
c6b3255e63b693d652bdb9ec27ed447813833e6d1ab909dc735f82285109e11e
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file is autogenerated by: // mojo/public/tools/bindings/mojom_bindings_generator.py // For: // mojo/shell/public/interfaces/shell_resolve...
Java
CL
c07ee8e438e593c2433431f968225c0761533d42afe8848a7632a71ac672f7f0
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.adapters.adminservices.configurationstore.encryptedfile; import org.odpi.openmetadata.adminservices.store.OMAGServerConfigStoreProviderBase; import org.odpi.openmetadata.frameworks.connector...
Java
CL
9d20e6c1ae705f0200d6ae2727473d90677aab98f1f220cdfd0bfe4234ed4c97
package org.jboss.pressgang.ccms.utils.common; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import org.slf4j.Logg...
Java
CL
3362d4a0706c50ed2e2b598ac6512106244be8a06c04f27fef6d1ab69a2b22b3
package com.lakeacr.asoms.dao; import java.util.List; import com.lakeacr.asoms.domain.Examiner; /** * * @author SURAJ CHANDEL * */ public interface ExaminerDao { /** * * @param id * @return */ public Examiner findById(long id); /** * * @param examiner * @return */ public Examiner saveOrUpd...
Java
CL
7845b94d29e9c6bb1eaada48400f9854572b5f8eeabc38039dd1647f26b1b51e
package dev.xdark.clientapi.item; import dev.xdark.clientapi.Side; import dev.xdark.clientapi.SidedApi; import dev.xdark.clientapi.block.state.BlockState; import dev.xdark.clientapi.gui.CreativeTab; import dev.xdark.clientapi.resource.ResourceLocation; import dev.xdark.clientapi.util.CompileStub; import java.util.UUI...
Java
CL
3cbd45649986734593107b0dc38c89a6f407759892f9a1ee87c665d6498fceae
package ua.com.fielden.platform.web.test.server; import java.io.IOException; import java.util.Properties; import java.util.function.Function; import org.apache.log4j.Logger; import ua.com.fielden.platform.types.tuples.T3; import ua.com.fielden.platform.web.vulcanizer.VulcanizingUtility; /** * Web UI vulcanization ...
Java
CL
c64321e967d1a67afe91fd3aa70335e54a49ba47a88317a9e87c5bd3cff50e53
package com.moneysupermarket.componentcatalog.service.scanners.models; import com.moneysupermarket.componentcatalog.sdk.models.Component; import com.moneysupermarket.componentcatalog.sdk.models.ScannerError; import lombok.Value; import org.junit.jupiter.api.Test; import javax.validation.constraints.NotNull; import ja...
Java
CL
38f1d69761d463996c65f2cd3d3193828b130d8bc6a3b8286377f8870a04969b
package org.jcarvajal.webapp.servlet; import java.util.List; import org.jcarvajal.webapp.utils.IOUtils; import org.jcarvajal.webapp.utils.ImmutableObservable; import org.jcarvajal.webapp.utils.StringUtils; import org.jcarvajal.webapp.server.RequestContext; import org.jcarvajal.webapp.server.Response; import org.jcarv...
Java
CL
3d0ee433b286a2b7b776454a813b93802caee07e35ae819415ff356419e7f212
/* * 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 not use...
Java
CL
2676ae705df4942896198f7e65dcd9befaf3ee8614c508f4d51da6131583c581
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package p0014.linhmd.servlet; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.security.NoSuchAlgo...
Java
CL
9131b3df07b82051e623202df2efa3982afd4ac07409f5c0d95ea02b08020e08
package com.yx.game.controller; import com.github.xiaoymin.knife4j.annotations.ApiSort; import com.yx.common.base.restful.GlobalResponse; import com.yx.common.mvc.utils.ResponseUtil; import com.yx.game.handler.DynamicValueHandler; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lo...
Java
CL
0e38a19ee22472a5b0d91382d4f1fde19873bfd27f2ff33eefc51ee02a774d1f
package com.trilobiet.graphqlweb.implementations.aexpgraphql2.service.html; import java.util.List; import java.util.Optional; import com.trilobiet.graphqlweb.dao.DaoException; import com.trilobiet.graphqlweb.dao.FileDao; import com.trilobiet.graphqlweb.datamodel.File; import com.trilobiet.graphqlweb.implementations.a...
Java
CL
ada41b4ab18291919a6861d81068538645110fc023b1f3d82a0bd7140d6640de
package uk.ac.shef.oak.com4510.model.repositry; import android.os.AsyncTask; import android.util.Log; import androidx.lifecycle.MutableLiveData; import java.util.List; import uk.ac.shef.oak.com4510.model.datebase.MyDatabase; import uk.ac.shef.oak.com4510.model.datebase.VisitDao; import uk.ac.shef.oak.com4510.model....
Java
CL
f1d1f9031aa281e884b41c1df89890149d927d019752ce7060057f3dd33c34cb
/** * Copyright (c) 2018 BITPlan GmbH * * http://www.bitplan.com * * This file is part of the Opensource project at: * https://github.com/BITPlan/com.bitplan.simplegraph * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
Java
CL
dcd096f7f7b9aaee3d997d22b9f26ede82e87e27b2fced92ec4e620c0b67c7f7
package edu.utdallas.utdesign.teach4service; import io.dropwizard.Configuration; import io.dropwizard.db.DataSourceFactory; import io.dropwizard.flyway.FlywayFactory; import lombok.Data; import lombok.EqualsAndHashCode; import org.hibernate.validator.constraints.NotBlank; import javax.validation.Valid; import javax.v...
Java
CL
e30cafabe2c356531b4c1375d736c3abf3841f931a7975c22f55c4a0f9f5433f
package com.github.filipebezerra.podcastsdabel.api.models; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import org.parceler.Parcel; @Parcel public class Track { @SerializedName("id") @Expose public Long id; @SerializedName("created_at") @Expose ...
Java
CL
27633dbed4786b1ab7fd38b8b2549d5c4cecbb4b5b438ae12fad6f5aa1177a81
package rest.resources; import model.SnapshotDB; import model.facade.BusinessFacade; import rest.converters.AuthorConverter; import rest.converters.AuthorsConverter; import rest.converters.MetaDataConverter; import rest.entities.Author; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; imp...
Java
CL
33374cff5a9c66fca3d0770d43cbae6c553781290854d1d5ca2c5ce41f3f5cbd
/** * Copyright 2012-2019 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 a...
Java
CL
ff4f556a243323d4949fc98e19fb3fede3c428d7a77e8df586ff87ac3062170d
package domain; import java.util.ArrayList; import java.util.stream.Collectors; import exceptions.InvalidNameException; /** * Class containing a Table. * A Table is a collection of Columns with a name * and comes in two variants: Stored and Computed. * */ public abstract class Table { /** *...
Java
CL
bec0fc1837f439edf0b3ce12c0369b163b8572759cc27a4eb602e155c187dcbc
package com.openapisession.ringmyiphonebff.config; import org.apache.http.client.HttpClient; import org.apache.http.client.HttpRequestRetryHandler; import org.apache.http.impl.client.HttpClientBuilder; import org.apache.http.impl.conn.PoolingHttpClientConnectionManager; import org.slf4j.Logger; import org.slf4j.Logger...
Java
CL
4d2aed9587c6790ae6bcf99bbf158a37a516701b6c364e46db615f903ecd92a1
/** * Copyright (c) 2014, Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice...
Java
CL
4752727b0c170f5dc214c48b8ea7da71f7415a7c37eb36a19fb515f78bc7ddaf
package at.scch.securitylibary.config.httpclient; import org.springframework.cloud.client.loadbalancer.LoadBalancerInterceptor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Primary; import org.springframew...
Java
CL
98b3410e719382b871c2823888b9573f259f12fc7fe46ca04b52a03917000c0d
package pl.edu.ug.inf.am.adventure.fight.logic; import pl.aml.impl.opponent.OpponentType; import pl.edu.ug.inf.am.adventure.dagger.PerAdventureStage; import javax.inject.Inject; import java.util.List; @PerAdventureStage public class FightPreparation { private final SkillsLogic skillsLogic; private final Figh...
Java
CL
7ae4b40d8554761959960388b6a3f44af1c21dbfe0094d3d248bdff59056180a
/** * <p> DAODB - Implements the DAO package interface in the DB using JDBC connection and SQL query. * The DAO Package consist of interface Classes describing C.R.U.D (Create,Read,Update,Delete) * actions,for Company ,Customer and Coupon * </p> * <img src="{@docRoot}/images/DAOandDAODB.jpg" alt="DAOandDAODB...
Java
CL
36a9580c87a85c1e538ba4c986cf4feaef21ba177a3307fbc9a44701092bc8a4
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate // Source File Name: TrainingSetListener.java package rm.gui.beans; import java.util.EventListener; // Referenced classes of package rm.gui.beans: ...
Java
CL
fa856f875c52375d12d968c314b03dd977ffa288fa878939b5722835f7b044d4
package com.morganstanley.stocklending.approval; /** * ApprovalDecisionServiceFactory is the factory to instantiate concrete class * that implements AbstractApprovalService. * * Assumption: In this assignment it will create an instance of * StockLendingDecisionService * * @author Richard Wu */ public class A...
Java
CL
496c2d6d186f922f1a5db82da9f3233c3248fa08a89b7eb615b0eabb896b39f4
package org.kuali.ole.docstore.model.xstream.work.bib.marc; import com.thoughtworks.xstream.converters.Converter; import com.thoughtworks.xstream.converters.MarshallingContext; import com.thoughtworks.xstream.converters.UnmarshallingContext; import com.thoughtworks.xstream.io.HierarchicalStreamReader; import com.thou...
Java
CL
a10765d03522d535e0057f210e2141c1c130e31192b4e8f0246bb8a338061846
package au.edu.unimelb.eldercare.messaging; import android.support.v7.widget.RecyclerView; import android.view.View; /** * The base view holder class from which each new * concrete message view holder class extends */ public abstract class MessageViewHolder extends RecyclerView.ViewHolder { MessageViewHolder(...
Java
CL
4d159dfa33a7974a370c7f62885570274fdfc0f2aab2745f94fb09151f146fcb
package com.vt.gameobjects.actionqueue; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.utils.Queue; import com.vt.game.Constants; import com.vt.gameobjects.TouchHandler; import com.vt.gameobjects.actionq...
Java
CL
4337bd2ad195b08666d612eaffb42fa148a5d47fbec4004d2dccb5d38db60e34
/******************************************************************************* * Fraco - Eclipse plug-in to detect fragile comments * * Copyright (C) 2019 McGill University * * Eclipse Public License - v 2.0 * * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE * PUBLIC LICENSE v2.0....
Java
CL
167ab797609b152b24ad4cd44a78026c060bedc5553a4d4c30895aff3aac1924
/** * 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...
Java
CL
2aeef8366e56405535cdf297d5061c365f0791ed85b731d18624f911f599ac21
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you u...
Java
CL
fc80e719e117b76369c5c332346966ab8a791922bb6867536d5de161a54dcdf0
package org.nuaa.tomax.mailclient.controller; import org.nuaa.tomax.mailclient.entity.Response; import org.nuaa.tomax.mailclient.service.IUserService; import org.springframework.web.bind.annotation.*; import javax.servlet.http.HttpSession; /** * @Name: UserController * @Description: TODO * @Author: tomax * @Date...
Java
CL
b362c4257eb5973c7b3e75040c7533ef6fb43682203fd3ef11868ea176688257
package club.codedemo.springprofiles; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; import org.springframework.core.env.AbstractEnvironment; import javax.servlet....
Java
CL
69488e05a24b7c1f5ee0b5a47d71c1a715644b7309814e556e32633c9f31497e
package com.orlando.java.self001.from151to200; /* * Read N Characters Given Read4 * * Given a file and assume that you can only read the file using a given method read4, implement a method to * read n characters. * * The API: int read4(char *buf) reads 4 characters at a time from a file. * * The return value i...
Java
CL
c115ece5ec753830d9d68c6751c86373ac5d35af1beadce70c2fff98af669451
/* * 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 ma...
Java
CL
72afc0dbfc0135ece5aa06e340bcba9a564ef5e05adf73c2b36d1a7d090689c4
package com.breakfast.main; /* * This renders the splash screen. * * @author Cameron Teed * @version 1.0 * @since 2021-05-26 */ import java.awt.Graphics; /** */ public class SplashScreen { /** Initializes width. */ private final int width = 740; /** Initializes height. */ private final int heigh...
Java
CL
32251232c68617df1fae19cb24381a89a697088f034834833caf633b3d90a2b2
package p005cm.aptoide.p006pt.dataprovider.p010ws.p076v1; import android.content.SharedPreferences; import com.mopub.common.Constants; import okhttp3.OkHttpClient; import p005cm.aptoide.p006pt.dataprovider.BuildConfig; import p005cm.aptoide.p006pt.dataprovider.WebService; import p005cm.aptoide.p006pt.preferences.toolb...
Java
CL
85158e7619880ebc103cfd8e40c2a5a98b2dd6a943c9198ece8c16458e44b803
package fr.lteconsulting.hexa.databinding.gwt; import com.google.gwt.user.client.ui.HasValue; import com.google.gwt.user.client.ui.ListBox; import fr.lteconsulting.hexa.databinding.Converter; import fr.lteconsulting.hexa.databinding.Mode; import fr.lteconsulting.hexa.databinding.propertyadapters.PropertyAdapter; impo...
Java
CL
ebd7701929c2daae95715843327929e5ade0d876adb26f9e4af43b0e2594f054
package com.yicj.study.plugins; import lombok.extern.slf4j.Slf4j; import org.apache.ibatis.executor.statement.StatementHandler; import org.apache.ibatis.plugin.Interceptor; import org.apache.ibatis.plugin.Intercepts; import org.apache.ibatis.plugin.Invocation; import org.apache.ibatis.plugin.Signature; import ...
Java
CL
40abcb7a6a5dab18eec66f2a65e2240ee45700a3b7d6793d79b9c095c833cabe
/******************************************************************************* * Copyright 2010 Simon Mieth * * 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....
Java
CL
a9fe3c5ca22aba419c57c5784806241dcbab95d7f7296d4d9f59bd53189b2ed6
package org.gorilla.hokieplanner.guerilla; // ------------------------------------------------------------------------- /** * A class to represent the cle's. It extends RequiredItem so it can be added to * the tree * * @author Anirudh Bagde (anibagde) * @author Weyland Chiang (chiangw) * @author Sayan E...
Java
CL
15c16592cbd7c42dd673c39ddd44727278121fa579d4e137c7558e471eb6ddaa
package sg.bigo.common.customcapture; import android.app.Activity; import android.content.res.AssetManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.ImageFormat; import android.graphics.SurfaceTexture; import android.hardware.Camera; import android.opengl.GLES11Ext...
Java
CL
f79a7cd6504ac7c5e4cd5110c8ed5773bffd92c62ecc092930a590fcdec48126
package com.ufgov.zc.client.console.elementrule.accounter; import com.ufgov.zc.client.common.LangTransMeta; import com.ufgov.zc.client.console.elementrule.base.BaseElementInfoSetPanel; import com.ufgov.zc.client.console.elementrule.base.BaseElementSelectPanel; import com.ufgov.zc.client.console.elementrule.event.Eleme...
Java
CL
d41214452ba6b3d00860af8f3cade3c7a39247f126f989bbd07b97cdb9d322bb
/** * File : Database.java * Desc : Database Connection controller. * @author Sebastián Turén Croquevielle(seba@turensoft.com) */ package com.blizzardPanel.dbConnect; import com.blizzardPanel.DataException; import java.sql.Connection; import java.sql.SQLException; import javax.naming.InitialContext; import javax.n...
Java
CL
537d046d14a7d61340ce3a00b1f7bd2e99fc755d0ab05b7659a1e57c823824b1
package org.loosefx.eventbus; /** The status of an event as it makes its way from publication through processing by subscribers. <p/> EventServices are required to stamp any event object or payload that implements the EventStatusTracker with the corresponding EventStatus as the event object is processed. The Even...
Java
CL
50b3538f20a40bfd1f23270f3b4cd85d5589c9bc47edc85a37b03c3466a6afb5
/****************************************************** * Copyright 2011-2012 by Ustok.org. * All rights reserved. ******************************************************/ package org.ustok.swtbot.internal.spy; /** * Constants to use for this plugin. * * @author Ingo Mohr * @created Dec 23, 2012 */ public fin...
Java
CL
df8b9094f8f85d39cc22bd2a4cb22f660cdb1e4d6a9a887f6e68899581b08c25
package com.amazon.emr.logs; import com.amazon.emr.logs.objectmappers.CloudWatchLogEntry; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.LongWritable; import org.apache.hadoo...
Java
CL
69a4f06e72fe86108b409004ba0b5979458b5ea8e6dd50ab3aae30d2c72131bf
/* * Copyright © 2015 Cask Data, 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 agreed t...
Java
CL
a2b0f83d37822bc1e10c95923511ccb404849593fe55881253fda7a515a68448
/*- ******************************************************************************* * Copyright (c) 2011, 2014 Diamond Light Source Ltd. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, ...
Java
CL
3f164076603cb9d64e5d0c1585e289268b1b69ce717b3d8ece7061ffd3ad5829
// Copyright (c) YugaByte, Inc. package com.yugabyte.yw.controllers; import static com.yugabyte.yw.common.AssertHelper.assertAuditEntry; import static com.yugabyte.yw.common.AssertHelper.assertBadRequest; import static com.yugabyte.yw.common.AssertHelper.assertErrorNodeValue; import static com.yugabyte.yw.common.Asse...
Java
CL
4e7b8dd9e816349d2816358021bb6e1cb458a1adc915850b2647914ed71d0b22
package ar.com.kfgodel.asql.impl.vendors; import ar.com.kfgodel.asql.api.interpreter.VendorInterpreter; import ar.com.kfgodel.asql.api.vendors.Vendor; import ar.com.kfgodel.asql.impl.interpreter.TemplateInterpreter; import ar.com.kfgodel.nary.api.Nary; /** * This type implements the vendor behavior by using classpat...
Java
CL
85d0c0812ea7dbe8bfc86fe30386741fdd46fb31f56bc5ff546ff0623d2690bb
package by.epam.gym.command.joint; import by.epam.gym.command.Command; import by.epam.gym.exception.ServiceException; import by.epam.gym.model.Page; import by.epam.gym.model.user.User; import by.epam.gym.model.user.UserRole; import by.epam.gym.service.ComplexService; import org.apache.log4j.Logger; import javax.servl...
Java
CL
ab807b3093cc1e63aec134e7e742ab70d04054511ad4268fdc897e4d8a8ce75d
package com.btc.ep.plugins.embeddedplatform; import java.io.IOException; import org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist; import org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist; import com.btc.ep.plugins.pipelinedsl.PipelineDSLGlobal; import hudson.Extension; @...
Java
CL
d0ead4e72a2ab7e958f31ff7f237945ca4ef2579b659e4d829d98ce857164c56
package com.gosun.isap.warn.api.alert.rest; import com.gosun.isap.dao.po.alert.Alert; import com.gosun.isap.warn.api.alert.model.ResponseData; import com.gosun.isap.warn.api.alert.model.statistics.AverageItem; import com.gosun.isap.warn.api.alert.model.statistics.StatisticsDiagramData; import com.gosun.isap.warn.api.a...
Java
CL
2e57eb93768ae760f49e52d317a66120f3b37d4e4b352f3978f16775d46976a4
package eu.openminted.registry.component.service; import java.io.File; import java.io.IOException; import java.io.StringReader; import java.net.JarURLConnection; import java.net.URL; import java.util.ArrayList; import java.util.List; import java.util.jar.JarFile; import java.util.zip.ZipEntry; import org.apache.commo...
Java
CL
9577166e026931e7308ac77a7b7bc831832e46f0397e49cf3c6b965d8c87f90b
package ch.eonum.pipeline.classification.tree; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Random; import ch.eonum.pipeline.classification.Classifier; import ...
Java
CL
0abcaaf2e7f7f9c3d9da2c574bc206aea977150d9e044bb6184cbab383fd0556
package com.iknow.imageselect.core; import android.support.v7.app.AppCompatActivity; /** * @Author: Jason.Chou * @Email: who_know_me@163.com * @Created: 2016年04月26日 5:08 PM * @Description: */ public class CoreActivity extends AppCompatActivity { // =========================================================== ...
Java
CL
ad0825ddf6515524c2e74621d8021fcc0f261bb7d1ea21e66fe02e2e4f5e928e
package com.example.rabbitmqdemo.rabbit.routingkey; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.amqp.rabbit.annotation.Exchange; import org.springframework.amqp.rabbit.annotation.Queue; import org.springframework.amqp.rabbit.annotation.QueueBinding; import org.springframework.am...
Java
CL
ccd1e9666c145bda52df7e0b911cd640d952dc6c0f01560948177c19b63aa613
package net.ooici.ion.cc.messaging.platform.rabbitmq; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import net.ooici.ion.cc.messaging.Broker; import net.ooici.ion.cc.messaging.Dispatcher; import net.ooici.ion.cc.messaging.MessagingException; import net.ooici.ion.cc.messaging.platform.Platform; import net.o...
Java
CL
327d1f2427e5ab1213a5a5cac621906dd8364568511a10f5169aa8d6b3e90745
/* * Copyright 2007-2016 Michael Hoffer <info@michaelhoffer.de>. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright ...
Java
CL
5fa1fea82c4a1ab610804b0a620c9612242d7300c0e89b41b820d058e9355fc0
/* * Copyright (c) 2017, Wasiq Bhamla. * * 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 ...
Java
CL
4055c15247cfb9a014b74963a312a229c672e5dbdaf0cba171dc67b27f6e9701
package vn.com.vhc.alarm.core; import java.io.IOException; import java.lang.management.*; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import ja...
Java
CL
3441fa670c5180422a39d8f8128d4a076520199cc629a7c9a81d7743649deaf3
package ru.levelup.at.api.serialization; import static io.restassured.RestAssured.given; import static org.assertj.core.api.Assertions.assertThat; import io.restassured.builder.RequestSpecBuilder; import io.restassured.builder.ResponseSpecBuilder; import io.restassured.filter.log.LogDetail; import io.restassured.http...
Java
CL
d4a605d87cef948a718cb8c6c4c449093006e19764e220c92e7babb95e316dd3
/** * Copyright (C) 2011-2022 Red Hat, Inc. (https://github.com/Commonjava/indy) * * 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 ...
Java
CL
b9ae1d37e9a9429d06cbdeb03fe619e05c35e540e4515f24bc030a0085009f24
package io.semla.serialization.json; import io.semla.exception.DeserializationException; import io.semla.serialization.Deserializer; import io.semla.serialization.Token; import io.semla.serialization.io.CharacterReader; import lombok.extern.slf4j.Slf4j; import java.util.Set; import static io.semla.serialization.io.C...
Java
CL
bba92411ada5467c794809d4ed12b650a2eeeaacba3dfb6e61f1de89b97295cf
package com.ices.reservation.manager.web; import com.ices.pojo.User; import com.ices.pojo.system.Buser; import com.ices.reservation.manager.service.LoginService; import io.swagger.annotations.Api; import javafx.scene.chart.ValueAxis; import org.springframework.beans.factory.annotation.Autowired; import org.spr...
Java
CL
fe324fe9784d673adcd8994473fe4dd8c3bd5f1cd47b18f369bd429dea4cdee3
package com.dianping.pigeon.remoting.common.codec.fst; import java.io.InputStream; import java.io.OutputStream; import com.ymm.tracker.CacheExecutionTrace; import com.ymm.tracker.SqlExecutionTrace; import com.ymm.tracker.TrackerContext; import com.dianping.dpsf.protocol.DefaultRequest; import com.dianping.dpsf.protoc...
Java
CL
c41580361636a5f6e2ba06b35fd8353998b435f9d4f95751208f103c53f261e5
/* * Copyright (c) 2016-present, RxJava 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 required by applicable la...
Java
CL
fdd2b3360d93ea6118efa28a55a1b3ddad8c247df334048143b428fb17abdc0c
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package net.thevpc.upa.impl.android; import net.thevpc.upa.impl.util.classpath.ClassFileIteratorFactory; import net.thevpc.upa.persist...
Java
CL
ba7e7357d7a174f6cf744f1bf9a7ef6e4dd3aa5c812a48580b997dad3954891a
/* * This file was automatically generated by EvoSuite * Sat Jan 05 09:14:43 GMT 2019 */ package com.google.javascript.jscomp; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.runtime.EvoAssertions.*; import com.google.javascript.jscomp.ClosureCodingConvention; import com.google....
Java
CL
f5a5cc8de863450f4f33a2d0347ecaeca14ecc141ce63e430e3e347a1b901aec
package wpsr.engines.types; import org.apache.uima.cas.Feature; import org.apache.uima.cas.FeatureStructure; import org.apache.uima.cas.Type; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.impl.FeatureImpl; import org.apache.uima.cas.impl.TypeImpl; impo...
Java
CL
eb5beb50ccbb3959fc0635d7a764edc4a3b26d22d0bd4f3ef7ee505af106a51c
/* * Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.de) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 3 of the License, or (at your option) * a...
Java
CL
e162cac1c2aeba0f34b0321673eb016b270215295af195b8288440e07d51713e
package leetcode; import org.junit.Test; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; /** * 300. Longest Increasing Subsequence * Medium * #Array, #Binary Search, #DP * * Given an integer array nums, return the length of the longest strictly increasin...
Java
CL
f678f39d3c05b8c0f8cdddbfe2e15a18876d663ca4109086194e4683771d080f
package by.segg3r.git; import static org.testng.Assert.*; import static org.mockito.Mockito.*; import org.eclipse.jgit.api.Git; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import by.segg3r.Application; public class GitRepositoryTest { p...
Java
CL
faa6442da720c8e87eaddadaa92da2b9245b4201eaf3caeb145ff18952b9449f
package com.girl.common; import org.codehaus.jackson.annotate.JsonIgnore; import org.codehaus.jackson.map.annotate.JsonSerialize; import java.io.Serializable; /** * 服务响应对象 * * Created by girl on 2017/5/30. */ //当字段为空时,不放入响应对象中,即响应对象自动忽略该属性 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) public class S...
Java
CL
d43752f49a0cf6ff7a6d09542e543de4ea208f6e92cead82bee4ae103a31d32e
package com.jc.multipong.bootstrap.threads; import com.google.gson.JsonSyntaxException; import com.jc.multipong.bootstrap.entities.GameConnectionRequest; import com.jc.multipong.bootstrap.entities.GetGameLogicRequest; import com.jc.multipong.bootstrap.entities.PaddleMovementRequest; import com.jc.multipong.bootstrap.e...
Java
CL
2019f54a2b5066b6b14be59c6449c0e42bbfbeca2ec8b0f48cbcf84853d7ddd5
/******************************************************************************* * Copyright (c) 2005 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is ava...
Java
CL
34a4f720a41521dae6672fcba03715790bd4f94a4b97753b5b7f3263af340e60
package edu.duke.raft; import java.util.Timer; import java.util.TimerTask; import java.util.List; import java.util.LinkedList; public class FollowerMode extends RaftMode { //Election timer Timer electionTimer; public void go () { synchronized (mLock) { int term = mConfig.getCurrentTerm(); Syste...
Java
CL
a08611fac2d6c1feb3aae17b645c6420dc424290c1039235d577b580c57a0445
package ca.landonjw.remoraids.api.rewards; import java.util.List; import ca.landonjw.remoraids.api.battles.IBossBattle; import ca.landonjw.remoraids.api.rewards.contents.IRewardContent; import ca.landonjw.remoraids.api.util.DataSerializable; import net.minecraft.entity.player.EntityPlayerMP; /** * Interface for a r...
Java
CL
b59e7efe81812995683142fb39f5b55313d73958425ae23aa914d3e80ce5c676
package com.janknspank.common; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Iterables; import com.google.common.collect.Lists;...
Java
CL
dcba39abf0019251b21663b30f3b49c0f7d8a52e51d50f2f4c6fbc41afc6b0a6
package com.nuno1212s.bungee.loginhandler.events; import com.nuno1212s.bungee.loginhandler.SessionHandler; import com.nuno1212s.bungee.loginhandler.tasks.AsyncPremiumCheck; import com.nuno1212s.bungee.loginhandler.tasks.ForceLoginTask; import com.nuno1212s.bungee.main.Main; import net.md_5.bungee.api.ProxyServer; impo...
Java
CL
fca0aa85036291379c3da0e15afb007f20edfea0b7355168fe5d019e5afe4ab1
/* * Copyright 2020-2020 the nameserviceangent team * * 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...
Java
CL
c06cc31a96d12d7fd2046e06cf2efc664c35182500b10bc6d90bfb9a36255965
/******************************************************************************* * Copyright (c) 2006-2007 Koji Hisano <hisano@gmail.com> - UBION Inc. Developer * Copyright (c) 2006-2007 UBION Inc. <http://www.ubion.co.jp/> * * Copyright (c) 2006-2007 Skype Technologies S.A. <http://www.skype.com/> * * Skype4Ja...
Java
CL
bcac5bb6ceae555bc0ac9a9a226c147c41a3a62a11c805ce5abf1f20684102d6