text stringlengths 7 1.01M |
|---|
/*
* Copyright 2019-2020 Zheng Jie
*
* 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 agree... |
/*
* 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... |
/*
* 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 de.unistuttgart.isw.sfsc.commonjava.util.scheduling;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
public class SchedulerService implements Scheduler, AutoCloseable {
private fi... |
/*
* MIT License
*
* Copyright (c) 2019 Udo Borkowski, (ub@abego.org)
*
* 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, including without limitation the rights
* ... |
package test;
import com.google.auto.value.AutoValue;
@AutoValue abstract class NoAutoMoshi {
abstract int a();
}
|
package hw;
public class Test {
public static void main(String[] args) {
System.out.println("hello world.");
}
}
|
package cn.iocoder.mall.pay.biz.dataobject;
import cn.iocoder.common.framework.dataobject.DeletableDO;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* 支付通知 App 的日志 DO
*
* 通过该表,记录通知 App 时,产生的日志
*/
@Data
@Accessors(chain = true)
public class PayNotifyLogDO extends DeletableDO {
/**
* 日志编号,... |
/***********************************************************************************
* *
* Copyright (C) 2017 Erasmus MC, Rotterdam, The Netherlands *
* ... |
/*
* Copyright 2012-2017 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 top.hdonghong.dhmall.coupon.service.impl;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import top.... |
/**
* generated by Xtext 2.19.0
*/
package org.afplib.afpText;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>GCMRK</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.afp... |
package com.commerzinfo.input.html.parse.state;
import com.commerzinfo.input.html.parse.ParseStateContext;
import com.commerzinfo.util.DecimalFormatUtil;
import com.commerzinfo.util.RegexUtil;
public class StateBetrag extends ParseState {
public StateBetrag() {
super(StateBetrag.class.getSimpleName());
... |
package contest.acm;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class CCPC_2017_D {
static BufferedReader br;
static PrintWriter out;
static StringTokenizer ... |
/*
* Copyright (c) 2021 Freya Arbjerg and contributors
*
* 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, including without limitation the rights
* to use, copy, mod... |
package com.lwj.netty._3_heartbeat;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import io.netty.handler.timeout.IdleStateEvent;
/**
* create by lwj on 2020/3/3
*/
public class HeartBeatHandler extends ChannelInboundHandlerAdapter {
@Override
public vo... |
/*******************************************************************************
* Cloud Foundry
* Copyright (c) [2009-2016] Pivotal Software, Inc. All Rights Reserved.
*
* This product is licensed to you under the Apache License, Version 2.0 (the "License").
* You may not use this product except i... |
/*
* Copyright (C) 2012 The Android Open Source Project
*
* 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... |
package org.wikiup.modules.jsp.tag;
import java.io.IOException;
import java.util.Iterator;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.BodyTagSupport;
import org.wikiup.core.Wikiup;
import org.wikiup.core.impl.Null;
import org.wikiup.core.inf.Dictionary;
import org.wikiup.core.inf... |
// Copyright (C) 2018 The Android Open Source Project
//
// 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 ... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
import javax.swing.*;
import java.awt.*;
public class GUI {
public static void main(String[] args) {
JFrame frame = new JFrame();//creating JFrame
JPanel panel = new JPanel();
frame.setSize(600, 800);//set size
frame.add(panel);
frame.setLayout(null);
fra... |
package common;
import java.time.LocalTime;
import java.util.Map;
public class Drone extends Model implements Runnable {
private static final long serialVersionUID = 6613147626169007647L;
private Boolean restocking = false; //boolean to check if drone is currently restocking
private Boolean delivering... |
package com.myfreax.www.arp_scanner.subnet;
import java.net.InetAddress;
public class Device {
public String ip;
public String hostname;
public String mac;
public String vendor;
public float time = 0;
public Device(InetAddress ip) {
this.ip = ip.getHostAddress();
this.hostname... |
package org.tek.code.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.tek.code.model.TestUser;
import org.tek.code.service.impl.TestUserServiceImpl;
import javax.servlet.http.HttpServletRequest;
/**
* @author Nick
* @date 2020/1... |
package de.ropemc.api.wrapper.net.minecraft.world.biome;
import de.ropemc.api.wrapper.net.minecraft.world.World;
import java.util.Random;
import de.ropemc.api.wrapper.net.minecraft.util.BlockPos;
import de.ropemc.api.wrapper.net.minecraft.world.gen.feature.WorldGenAbstractTree;
import de.ropemc.api.wrapper.net.minecra... |
/*
* Copyright 2015 Hippo B.V. (http://www.onehippo.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 required... |
/**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.common.utils;
import java.io.File;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
... |
package io.cattle.platform.core.constants;
public class LoadBalancerConstants {
public static final String FIELD_LB_CERTIFICATE_IDS = "certificateIds";
public static final String FIELD_LB_DEFAULT_CERTIFICATE_ID = "defaultCertificateId";
}
|
package com.llf.springboot.util;
import java.util.List;
public class PagedResult {
private int page; // 当前页数
private int total; // 总页数
private long records; // 总记录数
private List<?> rows; // 每行显示的内容
public PagedResult(){
}
public PagedResult(int page,int total){
this.page=p... |
// Copyright (c) Team 564.
// Open Source Software; you can modify and/or share it under the terms of
// the BSD license file in the root directory of this project.
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license... |
/*
* Copyright (c) 2016 Couchbase, 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 agr... |
package com.xjm.dao;
import com.xjm.dto.MetaDto;
import com.xjm.dto.cond.MetaCond;
import com.xjm.model.MetaDomain;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;
/**
* 项目dao
* C... |
package me.ningsk.filterlibrary.glfilter.effect;
import android.content.Context;
import android.opengl.GLES20;
import me.ningsk.filterlibrary.glfilter.base.GLImageFilter;
import me.ningsk.filterlibrary.glfilter.utils.OpenGLUtils;
/**
* 缩放滤镜
*/
public class GLImageEffectScaleFilter extends GLImageFilter {
pri... |
/*
* Copyright 2020 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* MAL/SPP Binding for CCSDS Mission Operations Framework
* Copyright (C) 2015 Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR).
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundat... |
/*
* Copyright 2015-2020 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... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... |
package ax.stardust.skvirrel.monitoring;
import android.content.Context;
import org.apache.commons.lang3.StringUtils;
import java.util.List;
import java.util.stream.Collectors;
import ax.stardust.skvirrel.R;
import ax.stardust.skvirrel.stock.parcelable.ParcelableStock;
import ax.stardust.skvirrel.util.SkvirrelUtils... |
/***** BEGIN LICENSE BLOCK *****
* Version: EPL 2.0/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Eclipse Public
* 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.eclipse.org/legal/epl-... |
package i5.las2peer.services.test;
import java.net.HttpURLConnection;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.Consumes;
import javax.ws.rs.core.Response;
... |
package thaumicenergistics.client.gui.buttons;
import java.util.List;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import thaumicenergistics.client.textures.AEStateIconsEnum;
import thaumicenergistics.common.container.ContainerKnowledgeInscriber.CoreSaveState;
import thaumicenergistics... |
/*
* Copyright (c) 2021 Martin Koster
*
* 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, including
* without limitation the rights to use, copy, modify, merge, publi... |
package com.vikingsen.inject.viewmodel;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.CLASS;
@Target(TYPE)
@Retention(CLASS)
public @interface ViewModelModule {
}
|
package com.geektcp.alpha.algorithm.tree.btree;
/**
* @author tanghaiyang on 2019/1/21.
*/
public class BPlusTree {
}
|
package evolved.genetics.characters;
import evolved.model.compute.Operator;
public abstract class OperatorCharactor implements GeneCharacter {
private final Operator operator;
public OperatorCharactor(Operator operator) {
this.operator = operator;
}
public Operator getOperator() {
r... |
/**
The MIT License (MIT) * Copyright (c) 2016 铭飞科技(mingsoft.net)
* 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, including without limitation the rights to
* use, c... |
/*
* Copyright [2012] [ShopWiki]
*
* 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 ... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* 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, including without limitation the rights
* to use, cop... |
package test.module.framework.tests.functional.service;
import org.testng.annotations.Test;
import core.apiCore.helpers.DataHelper;
import core.apiCore.helpers.JsonHelper;
import core.apiCore.interfaces.RestApiInterface;
import core.helpers.Helper;
import core.support.configReader.Config;
import core.support.objects... |
package ch10;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
/**
* A multithreaded example showing how to safely update Swing components
* from a background thread. The ProgressPretender class below slowly
* counts up to 100 and keeps a JLabel upda... |
package com.ccb.demo;
import com.alibaba.fastjson.JSONObject;
import com.ccb.util.AESUtil;
import com.ccb.util.HttpUtil;
import com.ccb.util.RSAUtilV2;
import com.ccb.util.SHA256withRSA;
/**
* 用户请求政融支付加密参数Demo
*/
public class EncryDemo {
/**
* 双方用于加解密的密钥 可调用 AESUtil.getAESSecureKey() 获取
*/
private... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may n... |
package com.refactor.bootcamp.incomplete_library_class.example_1;
import java.util.Date;
public class InCompleteLibraryClassExample1 {
public Date getBillAmountDate() {
Date date = new Date(2016, 10, 1);
return nextDate(date);
}
private static Date nextDate(Date date) {
//foreign... |
//
// Copyright (c) 2007 Tridium, Inc.
// Licensed under the Academic Free License version 3.0
//
// History:
// 12 Mar 07 Brian Frank Creation
//
package sedonac.ir;
import sedona.Facets;
import sedonac.ast.*;
import sedonac.namespace.*;
/**
* IrField
*/
public class IrField
extends IrSlot
implements Fiel... |
package com.pwaquim.professionalcard;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
publi... |
package com.github.onozaty.sql.resultset.core;
import static org.assertj.core.api.Assertions.assertThat;
import java.io.IOException;
import java.io.StringWriter;
import java.util.Arrays;
import org.junit.Test;
/**
* {@link CsvDestination}のテストです。
* @author onozaty
*
*/
public class CsvDestinationT... |
package com.keekan.bean;
import java.io.Serializable;
/**
* @author KEEKAN.10000
* @version 1.0 <br>
* Copyright (C), 2012-, keekan.com <br>
* This program is protected by copyright laws. <br>
* Program Name: KEEKAN<br>
* Class Name: 照片表持久化Bean类 <br>
*/
public cl... |
package com.dcxiaolou.tinyJD.bean;
import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
public class PmsProductImage implements Serializable {
@Id
@Column
private String id;
@Column
private String productId;
@Column
private String imgName;
@Column... |
/*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation and others.
* 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, an... |
/*
* 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 under t... |
/*
* 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... |
public synchronized int executeCommand(Vector<String> pvStatement) throws Exception {
int ret = 0, i = 0;
Statement stmt = null;
String temp = "";
try {
oConexion.setAutoCommit(false);
stmt = oConexion.createStatement();
for (i = 0; i < pvStatement... |
package rocks.inspectit.ocelot.config.model.instrumentation.rules;
import org.assertj.core.util.Maps;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;
import org.mockito.Spy;
import rocks.inspectit.ocelot.config.model.Inspectit... |
package osmedile.intellij.stringmanip.escaping;
import osmedile.intellij.stringmanip.AbstractStringManipAction;
import java.util.Map;
public class EscapeJsonAction extends AbstractStringManipAction<Object> {
@Override
public String transformByLine(Map<String, Object> actionContext, String s) {
return org.apache... |
package com.google.codeu.data;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
public class Review {
private final UUID reviewId; //This is the ID of the review
private final long timestamp;
private String author; //The user posting the review
private long rating;
private String co... |
/**
* Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.kaaproject.kaa.server.common.thrift.gen.cli;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.Stan... |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2008, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... |
package odms.bridge;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import javafx.application.Platform;
import odms.commons.model.Disease;
import odms.commons.model.MedicalProcedure;
import odms.commons.model.User;
import odms.commons.model._enum.Organs;
import odms.commons.model.datamodel.Comb... |
package live.thought.scatterbrain;
import static org.junit.Assert.*;
import org.junit.Test;
public class PrivateKeyTest
{
@Test
public void test()
{
PrivateKey testKey = new PrivateKey(false);
assertNotNull(testKey);
System.out.println(testKey);
}
}
|
/**
* Trust Payments SDK
*
* This library allows to interact with the Trust Payments payment service.
*
* 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/L... |
package payne.framework.pigeon.core;
import payne.framework.pigeon.core.exception.TaskExecuteException;
import payne.framework.pigeon.core.exception.TaskRevokeException;
public interface Task {
void execute() throws TaskExecuteException;
void revoke() throws TaskRevokeException;
}
|
package com.pacoworks.cardframework.api.model.conditions;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.pacoworks.cardframework.api.CFWContext;
import com.pacoworks.cardframework.api.mode... |
package knokko.rpg.entity.data;
import java.util.ArrayList;
import java.util.List;
import knokko.rpg.data.WorldData;
import knokko.rpg.entity.creature.EntityEye;
import knokko.rpg.entity.creature.EntityMonkey;
import knokko.util.EntityUtils;
import knokko.util.ExtraUtils;
import knokko.util.Position;
import net.minec... |
package jadx.tests.integration.arith;
import org.junit.jupiter.api.Test;
import jadx.core.dex.nodes.ClassNode;
import jadx.tests.api.SmaliTest;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.Matchers.not;
import static org.hamcrest.MatcherAssert.assertThat;
public class TestArith... |
package org.jeecg.modules.shiro.authc.aop;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.web.filter.authc.BasicHttpAut... |
/**
* Copyright (C) 2009 Aisino Corporation Inc.
*
* No.18A, Xingshikou street, Haidian District,Beijing
* All rights reserved.
*
* This software is the confidential and proprietary information of
* Aisino Corporation Inc. ("Confidential Information"). You shall not
* disclose such Confidential Inform... |
package org.open.source.factory.mapper.dao;
import org.open.source.factory.mapper.AbstractMapper;
import org.open.source.model.Line;
import org.open.source.model.ViewObject;
import org.open.source.util.FormatHelper;
import java.util.ArrayList;
import java.util.List;
/**
* @author tianbo
* @date 2018-06-26 Tuesday ... |
/*
* 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 api.longpoll.bots.model.objects.additional;
import com.google.gson.annotations.SerializedName;
/**
* Describes price.
*
* @see <a href="https://vk.com/dev/price">Price</a>
*/
public class Price {
/**
* Integer price value multiplied by 100.
*/
@SerializedName("amount")
private Intege... |
package com.virtualpairprogrammers.staffmanagement.rest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.anno... |
/*
* 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")... |
/**
* Copyright (c) 2009-2019, Yegor Bugayenko
* 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, this list of con... |
/*************************GO-LICENSE-START*********************************
* Copyright 2014 ThoughtWorks, 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... |
package eu.csaware.stix2.test.reference;
import eu.csaware.stix2.common.*;
import eu.csaware.stix2.sdos.Indicator;
import eu.csaware.stix2.sdos.Malware;
import eu.csaware.stix2.sros.Relationship;
import eu.csaware.stix2.test.util.TestConstants;
import eu.csaware.stix2.test.util.TestUtil;
import eu.csaware.stix2.util.S... |
/*******************************************************************************
* Copyright 2015 Alexander Casall, Manuel Mauky
*
* 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
*
* h... |
package ca.uhn.fhir.jpa.subscription.module.cache;
import ca.uhn.fhir.jpa.subscription.module.BaseSubscriptionDstu3Test;
import org.hl7.fhir.dstu3.model.Subscription;
import org.junit.After;
public abstract class BaseSubscriptionRegistryTest extends BaseSubscriptionDstu3Test {
public static final String SUBSCRIPTION... |
package me.devsaki.hentoid.activities.bundles;
import android.os.Bundle;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
/**
* Helper class to transfer payload data to {@link me.devsaki.hentoid.viewholders.ContentItem}
* through a Bundle
* <p>
* Use Builder class to set data; use Parser class ... |
package com.atguigu.gmall.pms.controller;
import java.util.Arrays;
import java.util.Map;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;
import com.atguigu.core.bean.Resp;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans... |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* 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... |
/*
* Druid - a distributed column store.
* Copyright 2012 - 2015 Metamarkets Group 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-... |
/*
* 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... |
package io.github.prototypez.appjoint.app;
import android.content.Context;
import android.content.Intent;
import android.support.v4.app.Fragment;
import io.github.prototypez.appjoint.core.ServiceProvider;
import io.github.prototypez.service.app.AppService;
import io.github.prototypez.service.app.callback.AppCallback;
... |
package one.jodi.core.service;
public interface ProjectService {
void deleteProject();
}
|
/*
According to apache license
This is fork of christocracy cordova-plugin-background-geolocation plugin
https://github.com/christocracy/cordova-plugin-background-geolocation
Differences to original version:
1. location is not persisted to db anymore, but broadcasted using intents instead
*/
package com.tenforwardc... |
package de.dytanic.cloudnet.ext.bridge.nukkit.event;
import cn.nukkit.event.HandlerList;
import de.dytanic.cloudnet.ext.bridge.player.NetworkConnectionInfo;
import de.dytanic.cloudnet.ext.bridge.player.NetworkPlayerServerInfo;
/**
* {@inheritDoc}
*/
public final class NukkitBridgeServerPlayerLoginRequestEvent exten... |
/**
*
*/
package com.hsjawanda.gaeobjectify.util;
import static com.hsjawanda.gaeobjectify.repackaged.commons.lang3.StringUtils.EMPTY;
import static com.hsjawanda.gaeobjectify.repackaged.commons.lang3.StringUtils.defaultString;
import static com.hsjawanda.gaeobjectify.repackaged.commons.lang3.StringUtils.isNotBlank;... |
package xyz.white.editor;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.utils.viewport.FillViewport;
import com.badlogic.gdx.utils.viewport.Viewport;
import com.kotcrab.vis.ui.VisUI;
public class MainEditor extends ApplicationAd... |
package com.example.demo.autowired.nullable;
import java.util.List;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.stereotype.Component;
@Component
public class Nullable {
pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.