text stringlengths 7 995k |
|---|
package org.motechproject.security.service.impl;
import org.hamcrest.core.Is;
import org.junit.Before;
import org.junit.Test;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.motechproject.security.domain.MotechUser;
import org.motechproject.security.model.Role... |
/*
* 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 ... |
/**
* 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 com.github.hollykunge.security.common.vo;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import java.util.Date;
/**
* @author: zhhongyu
* @description: 给内部服务提供人员信息
* @since: Create in 16:36 2019/9/19
*/
@Data
@JsonSerialize(include = JsonSerialize.Inclusion.ALWAYS)
pu... |
package com.github.zuihou.authority.dto.core;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import com.github.zuihou.base.entity.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
i... |
package com.insertcoolnamehere.showandsell;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest(... |
package org.ei.opensrp.view.activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.provider.MediaStore;
import android.widget.Toast;
import org.ei.opensrp.AllConstants;
import org.ei.opensrp.event.CapturedPhotoInformation;
... |
package cn.edu.zjut.member.controller;
import java.util.Arrays;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.R... |
/*
* 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 ... |
package com.outlook.bigkun.concepts;
/**
* @author zhanghk
* @since 2019/8/5
*/
public class ConcreteCommand extends Command {
private Receiver receiver;
public ConcreteCommand(String command) {
super(command);
}
public ConcreteCommand(String command, Receiver receiver) {
super(com... |
package fr.sii.ogham.spring.template.freemarker;
import org.springframework.context.ApplicationContext;
import freemarker.ext.beans.BeanModel;
import freemarker.ext.beans.BeansWrapper;
import freemarker.template.TemplateHashModel;
import freemarker.template.TemplateModel;
import freemarker.template.TemplateModelExcep... |
package com.bitdubai.fermat_csh_plugin.layer.cash_money_transaction.give_cash_on_hand.developer.bitdubai.version_1.exceptions;
import com.bitdubai.fermat_api.FermatException;
/**
* Created by Yordin Alayn on 29.09.15.
*/
public class CantInsertRecordGiveCashOnHandCashMoneyTransactionException extends FermatExceptio... |
/*
* Copyright 2013 must-be.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 or agreed to in w... |
package com.desertskyrangers.flightdeck.adapter.web.jwt;
import com.desertskyrangers.flightdeck.core.model.User;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.security.authenticat... |
/*
* Copyright 2005 JBoss 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 to i... |
/*
* Copyright (c) 2010-2012 Sonatype, Inc. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/lic... |
package weekl.weatherdemo.db;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import java.util.ArrayList;
import java.util.List;
import weekl.weatherdemo.base.BaseApplication;
public class DatabaseHelper extends SQLiteOpenHelper {
p... |
package com.doggynet.topology.client;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.cloud.netflix.feign.FeignClientsConfiguration;
import org.springframework.core.annotation.AliasFor;
import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)... |
package com.youngmanster.collection_kotlin.recyclerview.tree.base;
import androidx.recyclerview.widget.RecyclerView;
import com.youngmanster.collection_kotlin.recyclerview.tree.TreeItem;
import java.util.ArrayList;
import java.util.List;
/**
* @author: yangyan
*/
public abstract class BaseMultipleAdapter<T extend... |
package org.bian.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.Valid;
/**
* SDCorrespondentBankDataManagementRetrieveInputModelServiceDo... |
package org.xkidea.bams.ejb;
import org.xkidea.bams.entity.Groups;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
@Stateless
public class GroupsBean extends AbstractFacade<Groups> {
@PersistenceContext(unitName = "bamsPU")
private EntityManage... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: kvstore.proto
package top.parak.kraft.kvstore.support.proto;
public final class Protos {
private Protos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void regist... |
package cfvbaibai.cardfantasy.engine.skill;
import cfvbaibai.cardfantasy.CardFantasyRuntimeException;
import cfvbaibai.cardfantasy.GameUI;
import cfvbaibai.cardfantasy.data.Skill;
import cfvbaibai.cardfantasy.engine.*;
public final class Reincarnation {
public static boolean apply(SkillResolver resolver, Skill ca... |
/*
* 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 Terracotta, 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 to ... |
package com.youlai.mall.pms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.mall.pms.pojo.PmsSpuAttrValue;
import org.apache.ibatis.annotations.Select;
import org.mapstruct.Mapper;
import java.util.List;
/**
* @author haoxr
* @date 2020-11-06
*/
@Mapper
public interface PmsSpuAtt... |
/*
* This file was autogenerated by the GPUdb schema processor.
*
* DO NOT EDIT DIRECTLY.
*/
package com.gpudb.protocol;
import java.util.ArrayList;
import java.util.List;
import org.apache.avro.Schema;
import org.apache.avro.SchemaBuilder;
import org.apache.avro.generic.GenericData;
import org.apache.avro.gener... |
package io.github.encryptorcode.implementation.storage.jdbc.mappers;
import io.github.encryptorcode.entity.AUser;
import io.github.encryptorcode.service.AuthenticationConfiguration;
import org.jooq.Record;
import org.jooq.RecordMapper;
import static io.github.encryptorcode.implementation.storage.jdbc.tables.USERS.USE... |
package com.unfi.teksys.service;
import com.unfi.teksys.beans.Customer;
import com.unfi.teksys.dao.CustomerDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class CustomerService {
@Autowired
CustomerDao ... |
/*
* 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... |
package tests.unit.CompressingCore.helpers.compressingCore.dataFiltering.automatas;
import org.junit.Test;
import data.filters.automatas.WordRecognizer;
import tests.unit.UnitTestBase;
import static org.junit.Assert.*;
public class WordRecognizerTest extends UnitTestBase
{
private final static String WORD = "wOr... |
package org.archboy.clobaframe.setting.application.impl;
import java.util.LinkedHashMap;
import java.util.Map;
import org.archboy.clobaframe.setting.application.ApplicationSettingProvider;
/**
*
* @author yang
*/
public class EnvironmentVariablesSettingProvider implements ApplicationSettingProvider {
public stat... |
//
// ========================================================================
// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License v. 2.0 which is available at
// https://www.eclipse.org/... |
package ru.job4j.servlet.services;
import javax.servlet.*;
import java.io.IOException;
/**
* CharsetFilter.
*
* @author Stanislav (376825@mail.ru)
* @since 11.01.2018
*/
public class CharsetFilter implements Filter {
private String encoding;
@Override
public void init(FilterConfig config) throws Ser... |
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* 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 applica... |
package io.github.dddplus;
import com.tngtech.archunit.core.domain.JavaClasses;
import com.tngtech.archunit.core.importer.ClassFileImporter;
import com.tngtech.archunit.core.importer.ImportOption;
import com.tngtech.archunit.core.importer.ImportOptions;
import com.tngtech.archunit.lang.ArchRule;
import io.github.dddpl... |
/*
* 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 ... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2015, Red Hat, Inc., and individual contributors as indicated
* by the @authors tag.
*
* 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... |
package cla.edg.project.moyi.gen.graphquery;
import java.util.Map;
import cla.edg.modelbean.*;
public class DiscountByVolumePromotion extends BaseModelBean {
public String getFullClassName() {
return "com.terapico.moyi.discountbyvolumepromotion.DiscountByVolumePromotion";
}
// 枚举对象
public static EnumAttr... |
package io.github.wotjd243.aladin.person.domain;
import org.springframework.data.jpa.repository.JpaRepository;
public interface BuyerRepository extends JpaRepository<Buyer, String> {
} |
/*
* 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 ... |
/*
* Copyright 2017 JessYan
*
* 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 ... |
package se.l4.vibe.checks;
import edu.umd.cs.findbugs.annotations.NonNull;
/**
* Listener for status of a {@link Check}.
*
* @see Check
*/
public interface CheckListener
{
/**
* Status of the check has been updated.
*
* @param event
*/
void checkStatus(@NonNull CheckEvent event);
} |
/**
* 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 com.clilystudio.netbook.viewbinder.notification;
import android.content.Context;
import android.content.Intent;
import com.clilystudio.netbook.R;
import com.clilystudio.netbook.model.NotificationItem;
public class CommentLikeBinder extends NotifBinder {
public static final String LABEL = "comment_like";
... |
/**
* Copyright (C) 2018 WeBank, Inc. All Rights Reserved.
*/
package com.webank.webasebee.db.generated.repository.event;
import javax.transaction.Transactional;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.jpa.reposi... |
package org.junit.experimental.theories.internal;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.List;
import org.junit.experimental.theories.DataPoint;
import org.junit.experimental.theories.DataPoints;
import org.junit.... |
package models;
import java.util.*;
import javax.persistence.*;
import play.db.ebean.*;
import play.data.format.*;
import play.data.validation.*;
import play.data.*;
import com.avaje.ebean.*;
@Entity
@Table(name="motorista")
public class Motorista extends Model{
@Id
public Long id;
@Constraints.Required(message... |
/*
* Copyright 2011 Edmunds.com, 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... |
/*
* Copyright 2018-2018 adorsys GmbH & Co KG
*
* 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 ... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.11.... |
package Data;
import DBCon.DBConnection;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
public class Product {
DBConnection db = new DBConnection();
final Connection connection = db.getConnection();
public void getProducts() {
... |
/*
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.16.4
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do no... |
package com.whitecloak.cleancomponents.app.main;
import dagger.Module;
import dagger.Provides;
@Module
public class SettingsModule {
@Provides
SettingsPresenter presenter() {
return new SettingsPresenter();
}
} |
package org.kuali.coeus.s2sgen.impl.generate.support;
import org.kuali.coeus.common.api.unit.UnitContract;
import org.kuali.coeus.common.questionnaire.api.answer.AnswerContract;
import org.kuali.coeus.common.questionnaire.api.answer.AnswerHeaderContract;
import org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocum... |
/*
* Copyright 2015-2017 OpenCB
*
* 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 ... |
package org.hongxi.whatsmars.base.dp.filter;
import java.nio.charset.Charset;
import java.util.zip.Adler32;
/**
* Created by shenhongxi on 15/7/20.
*/
public class PrinterSample {
private Printer printer;
public PrinterSample(Printer printer){
this.printer = printer;
}
public void printer(... |
package com.thanosfisherman.wifiutils;
import static com.thanosfisherman.wifiutils.utils.Elvis.of;
import android.content.Context;
import android.content.pm.PackageManager;
import android.location.LocationManager;
import android.os.Build;
import android.util.Log;
import androidx.annotation.NonNull;
public class Loc... |
package com.zrp.latte.ui.datepicker;
public interface OnDismissListener {
public void onDismiss(Object o);
} |
/*
* Copyright © 2019 Dominokit
*
* 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 ... |
/*
* 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 com.example.android.bluetoothchat;
import android.content.Context;
import android.speech.tts.TextToSpeech;
import android.util.Log;
public class TTSProvider {
private final String TAG = "TTSProvider";
private TextToSpeech mSpeech;
float mVoiceSpeed = 0.01f;
float mVoicePitch = 1f;
publ... |
package com.lhl.springboot.springbootdemo.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.stereotype.Controller;
import javax.servlet.http.HttpSession;
/**
* @author lhl
*/
@Controller
public class IndexController {
@GetMapping("/")
public String online(Ht... |
// 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... |
package com.atguigu.gmall.sms.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import... |
package io.simplersoftware.learning.auth.repository;
import io.simplersoftware.learning.auth.model.Role;
import org.springframework.data.jpa.repository.JpaRepository;
public interface RoleRepository extends JpaRepository<Role, Integer> {
} |
/**
* Copyright 2016 StreamSets Inc.
*
* Licensed under 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 Lice... |
package com.example.oorstory;
/*
게임 시작시간을 사용자가 선택할 수 있다
티맵 설치 안내 및 실행
*/
import android.app.Notification;
import android.app.PendingIntent;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import ... |
/**
* 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 m... |
package com.example.mycoolweather.receiver;
import com.example.mycoolweather.service.AutoUpdateService;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class AutoUpdateReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context conte... |
// Copyright 2000-2021 Nokia
//
// Licensed under the Apache License 2.0
// SPDX-License-Identifier: Apache-2.0
//
package com.nokia.as.features.admin.k8s.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.felix.dm.annotation.api.Component;
impo... |
/*
* * Copyright (C) 2014-2018 Matt Baxter http://kitteh.org
* * Copyright (C) 2020-2021 Emeric Werner https://geolykt.de
*
* 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 Software without
* re... |
package fake.package_4;
public class Foo163 {
public void foo0(){
new Foo162().foo49();
}
public void foo1(){
foo0();
}
public void foo2(){
foo1();
}
public void foo3(){
foo2();
}
public void foo4(){
foo3();
}
public void foo5(){
foo4();
}
public void foo6(){
foo5();
}
public void foo7(){
foo6();
}
public void foo8(){
... |
/*
* 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 ... |
package one.jodi.etl.internalmodel;
public enum GroupComparisonEnum {
NONE("NONE"),
Any("ANY"),
Some("SOME"),
All("ALL");
private final String value;
GroupComparisonEnum(String v) {
value = v;
}
public static GroupComparisonEnum fromValue(String v) {
for (GroupCompar... |
package io.reflectoring.customer.business;
public class CustomerService {
} |
/*
* Copyright (c) 2013, 2018, 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 ... |
package com.github.dynodao.processor.schema.parse;
import com.github.dynodao.processor.context.ProcessorMessager;
import com.github.dynodao.processor.schema.SchemaContext;
import com.github.dynodao.processor.schema.attribute.NullDynamoAttribute;
import com.github.dynodao.processor.schema.serialize.DeserializationMappi... |
/*
* Copyright 2020 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... |
package com.yahoo.ycsb.db;
import java.util.List;
import com.google.common.collect.Lists;
public class LTCFragment {
public long startKey;
public long endKey;
public int ltcServerId;
public int dbId;
public double refCount = 0;
public List<Integer> stocLogReplicaServerIds = Lists.newArrayList();
public LTCF... |
package com.logginghub.messaging.netty;
public interface Level2MessageSender extends Level1MessageSender {
void send(String deliverToChannel, String replyToChannel, int responseID, Object payload);
} |
package cloud.nativ.jakartaee.security;
import lombok.extern.slf4j.Slf4j;
import javax.ws.rs.core.MediaType;
import java.net.Authenticator;
import java.net.PasswordAuthentication;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.tim... |
/*
* 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 com.imos.sample.basic.repo;
import com.imos.sample.base.repo.AbstractRepository;
import com.imos.sample.base.exception.Reposit... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * 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 th... |
import javax.swing.*;
import java.awt.*;
/**
* Created by gbax on 3/3/17.
*/
public class StartScreen extends JLabel{
public StartScreen() {
super("Welcome! Press Start to begin!!!", SwingConstants.CENTER);
setForeground(Color.CYAN);
setFont(new Font(Font.SANS_SERIF, Font.BOLD, 14));
... |
/**
* 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... |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2017 Red Hat, Inc., and individual 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 Licen... |
/*
* (C) Copyright 2021 Boni Garcia (https://bonigarcia.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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2018-2019 Francesco Tonini <francescoantoniotonini@gmail.com>
*
* 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 Software without restriction, includ... |
/*
* 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 net.optifine;
import net.minecraft.client.entity.AbstractClientPlayer;
import net.minecraft.client.model.ModelBiped;
public class PlayerConfiguration
{
private PlayerItemModel[] playerItemModels = new PlayerItemModel[0];
private boolean initialized = false;
public void renderPlayerItems(ModelBipe... |
/*
* Copyright (C) 2016 University of South Florida
*
* 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 applica... |
package com.pawandubey.griffin.pipeline;
import com.pawandubey.griffin.model.Page;
import com.pawandubey.griffin.model.Parsable;
import com.pawandubey.griffin.model.Post;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import... |
package be.arcadeboard.api.resources;
/**
* ResourceManager
* Created by Maxim on 14/01/2018.
*/
public interface ResourceManager {
/**
* Get default resource pack
*
* @return resource pack
*/
ResourcePack getGlobalResourcePack();
} |
/*
* Copyright (c) 2008-2017, Hazelcast, 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 ... |
/*
* Copyright (C) 2018 Stefano Fornari.
* All Rights Reserved. No use, copying or distribution of this
* work may be made except in accordance with a valid license
* agreement from Stefano Fornari. This notice must be
* included on all copies, modifications and derivatives of this
* work.
*
* STEFANO FORNARI... |
package com.tools.log.dialect.tinylog;
import com.tools.log.Log;
import com.tools.log.LogFactory;
/**
* <a href="http://www.tinylog.org/">TinyLog2</a> log.<br>
*
* @author Looly
*
*/
public class TinyLog2Factory extends LogFactory {
/**
* 构造
*/
public TinyLog2Factory() {
super("TinyLog");
checkLogExis... |
/*
* Copyright 2018-2020 adorsys GmbH & Co KG
*
* 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 ... |
/*
* 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
* dist... |
package com.example.ticketunion.ui.fragment;
import android.graphics.Rect;
import android.os.Bundle;
import android.view.View;
import android.view.ViewTreeObserver;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.LinearLayoutM... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.