text stringlengths 7 995k |
|---|
package com.simplesteph.kafka.model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.json.JSONObject;
import java.util.HashMap;
import java.util.Map;
import static com.simplesteph.kafka.GitHubSchemas.*;
@Data
@Builder
@NoArgsConstructor // No ... |
package ru.zzz.demo.sber.shs.device;
/**
* May emulate some communication issues or indicate improper input.
*/
public class DeviceException extends RuntimeException {
public DeviceException(String s) {
super(s);
}
} |
package io.opensphere.core.geometry.renderproperties;
import java.awt.Color;
/** Render properties specific to track geometries. */
public interface TrackRenderProperties extends PolylineRenderProperties
{
/**
* Clone this set of render properties.
*
* @return The cloned render properties.
*/
... |
package DesignPatterns.facade;
public class ServiceBImpl implements ServiceB{
@Override
public void methodB() {
System.out.println("Method B ...");
}
} |
package com.willowtreeapps.hyperion.attr;
import java.util.List;
interface AttributeOptions<T> {
List<T> getOptions();
} |
package com.worldstream.bus;
import java.util.Properties;
import kafka.producer.KeyedMessage;
import kafka.producer.ProducerConfig;
public class Producer extends Thread {
private final kafka.javaapi.producer.Producer<Integer, String> producer;
private final String topic;
private final Properties props = new Prope... |
package com.lion.manage.service.region.impl;
import com.lion.core.service.impl.BaseServiceImpl;
import com.lion.device.expose.cctv.CctvExposeService;
import com.lion.manage.dao.region.RegionCctvDao;
import com.lion.manage.entity.region.Region;
import com.lion.manage.entity.region.RegionCctv;
import com.lion.manage.ser... |
package org.spongycastle.jce.provider.test;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectOutputStream;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.PublicKey... |
package com.webank.wedatasphere.streamis.jobmanager.launcher.entity;
/**
* @author limeng
*/
public class JobUserRole {
private Long id;
private Long jobId;
private Long userId;
private Long roleId;
private String username;
public Long getId() {
return id;
}
public void setI... |
package com.renwer.client.controller;
import com.renwer.client.Main;
import com.renwer.networkelements.Connection;
import com.renwer.networkelements.ConnectionListener;
import com.renwer.utils.StringUtils;
import javafx.application.Platform;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.S... |
package io.github.u2ware.data.test.example09.source1;
import java.util.UUID;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Data;
@Entity @Table(name="example09_foo")
public @Data class Foo {
@Id
private UUID id;
private String name;
private Inte... |
package com.twu.biblioteca;
public class Reservation {
private User user;
private Resource resource;
public Reservation(User user, Resource resource) {
this.user = user;
this.resource = resource;
}
public User getUser() {
return user;
}
public Resource getResource... |
package com.lyncode.sushicounter;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;
@WebServiceClient(name = "SushiService",
wsdlLocation = "http://www.ni... |
package com.github.jiahaowen.spring.assistant.component.cache.test.fastjson;
import static org.junit.Assert.assertNotNull;
import com.github.jiahaowen.spring.assistant.component.cache.clone.Cloning;
import com.github.jiahaowen.spring.assistant.component.cache.clone.ICloner;
import com.github.jiahaowen.spring.assistan... |
package com.linkedin.metadata.authorization;
import com.google.common.collect.ImmutableList;
import java.util.Collection;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
/**
* This policies config ... |
/*
** 2011 September 26
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
*/
package info.a... |
package org.aspenos.app.aoscontentserver.registry;
import java.lang.*;
import java.util.*;
import java.sql.*;
import org.aspenos.exception.*;
import org.aspenos.app.aoscontentserver.defs.*;
import org.aspenos.app.aoscontentserver.util.*;
import org.aspenos.util.*;
import org.aspenos.db.*;
/**
*
*/
public class Ses... |
/**
* Copyright 2005-2016 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version
* 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
/*
* Copyright (c) 2020 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
/*
* Copyright (C) 2017-2019 Dremio Corporation
*
* 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.geekshirt.orderservice.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;
@Getter
@ApiModel(description = "Class representing ... |
/*
* Copyright 2019-2021 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 appl... |
package kr.re.nsr.crypto;
import kr.re.nsr.crypto.hash.LSH256;
import kr.re.nsr.crypto.hash.LSH512;
/**
* LSH256, LSH512 의 상위 클래스, 해시 함수 구현을 위한 공통 인터페이스를 포함하는 클래스이다.
*/
public abstract class Hash {
/**
* LSH 알고리즘 명세
*/
public enum Algorithm {
/**
* LSH-256-224 알고리즘 명세
*/
LSH256_224,
/**
* LSH... |
/*
* Copyright 2016 Alexey Andreev.
*
* 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... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.workloads.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.workloads.models.SapDiskConfi... |
package com.kagmole.workshops.basicchat.webservice.shared.exceptions.support;
import com.kagmole.workshops.basicchat.webservice.shared.exceptions.ApplicationExceptionType;
import java.util.Date;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import... |
// Copyright 2012, Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... |
package com.bakuard.flashCards.model.dal;
import com.bakuard.flashCards.model.exceptions.DuplicateIntervalException;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Assertions;
import java.util.List;
class IntervalsDaoI... |
package test.jmx;
public class Test implements TestMBean {
public String test() {
return "test";
}
} |
/*******************************************************************************
* Copyright (c) 2010 Robert "Unlogic" Olofsson (unlogic@unlogic.se).
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies this d... |
package com.thoughtworks.authserver.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface RoleRepository extends JpaRepository<Role, Integer> {
} |
package com.leidos.glidepath.asd;
/**
* Interface for a concrete ASD message
*
* User: ferenced
* Date: 1/19/15
* Time: 9:17 AM
*
*/
public interface IAsdMessage {
/**
* Interface method to convert the provided packet byte array into an ASD specific message
*
* @param buf
* @return bool... |
/**
* MIT License
*
* Copyright (c) 2010 - 2020 The OSHI Project Contributors: https://github.com/oshi/oshi/graphs/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 withou... |
package uk.co.lukestevens.testing.mocks;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.Properties;
import uk.co.lukestevens.utils.EnvironmentVariables;
/**
* Mocking class for {@link EnvironmentVariables}
* @author Luke Stevens
*
*/
pub... |
/****************************************************************
* 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... |
import org.junit.*;
import play.twirl.api.Content;
import static play.test.Helpers.*;
import static org.junit.Assert.*;
/**
*
* Simple (JUnit) tests that can call all parts of a play app.
* If you are interested in mocking a whole application, see the wiki for more details.
*
*/
public class ApplicationTest {
... |
package com.github.jferrater.petclinicbackend;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class PetclinicBackendApplication {
public static void main(String[] args) {
SpringApplication.run(PetclinicBackendAp... |
package com.megotechnologies.publishing_morningmist.loading;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.drawable.AnimationDrawable;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
... |
package messages;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import models.LineProcessingResult;
public class FileProcessedMessage {
private List<LineProcessingResult> hMap ;
public List<LineProcessingResult> getHMap() {
return hMap;
}
public FileProcessedMessage(List<LinePro... |
package org.intermine.api.results.flatouterjoins;
/*
* Copyright (C) 2002-2007 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/c... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* java mavlink generator tool. It should not be modified by hand.
*/
// MESSAGE CONTROL_MEASUREMENT PACKING
package com.MAVLink.protocol;
import com.MAVLink.MAVLinkPacket;
import com.MAVLink.Messages.MAVLinkMessage;
import co... |
package mb.spoofax.core.language.command;
import mb.common.util.EnumSetView;
import mb.pie.api.Task;
import mb.spoofax.core.language.command.arg.ArgConverters;
import mb.spoofax.core.language.command.arg.ParamDef;
import mb.spoofax.core.language.command.arg.RawArgs;
import mb.spoofax.core.language.command.arg.RawArgsB... |
package com.projeto.pontointeligente.api.utils;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import com.projeto.pontointeligente.api.utils.PasswordUtils;
public class PasswordUtil... |
/*
* 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... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
package collections.list;
import java.util.ConcurrentModificationException;
import java.util.Iterator;
import java.util.NoSuchElementException;
/**
* @author Bischev Ramil
* @since 2019-11-18
* Реализация односвязного списка и итератора с fast-fail проверкой.
* @param <E>
*/
public class DynSimpleLinkedList<E> i... |
/*
* Copyright 2020 Fraunhofer Institute for Software and Systems Engineering
*
* 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
*
* Un... |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.instaclustr.esop.azure;
import static com.google.common.base.Strings.isNullOrEmpty;
import static com.instaclustr.esop.guice.BackupRestoreBindings.installBindings;
import static com.instaclustr.kubernetes.KubernetesHelper.isRunningAsClient;
import static java.lang.String.format;
import java.net.URISyntaxE... |
/**
* 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 ... |
package com.ajjpj.afoundation.collection.immutable;
import com.ajjpj.afoundation.collection.AEquality;
import com.ajjpj.afoundation.collection.immutable.AHashMap;
import com.ajjpj.afoundation.collection.immutable.AMap;
import com.ajjpj.afoundation.collection.immutable.AOption;
import com.ajjpj.afoundation.function.AFu... |
/**
* 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.alipay.api.response;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.open.mini.innerapp.pluginuseconfig.cancel response.
*
* @author auto create
* @since 1.0, 2021-09-27 14:32:48
*/
public class AlipayOpenMiniInnerappPluginuseconfigCancelResponse extends AlipayResponse {
private st... |
/*
* Copyright 2016 Axibase Corporation 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
*
* https://www.axibase.com/atsd/axibase-apache-2.0.pdf
*
... |
/*
Launch4j (http://launch4j.sourceforge.net/)
Cross-platform Java application wrapper for creating Windows native executables.
Copyright (c) 2004, 2007 Grzegorz Kowal
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following... |
/*
* 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) 2004-2011 QOS.ch
* All rights reserved.
*
* 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 br.configuration.interactions.database;
import br.common.database.TableMapping;
import br.common.database.connection.ModelDAO;
import br.configuration.controllers.ModelView;
import br.configuration.interactions.controller.FakeDatabaseInteraction;
import br.configuration.window.handlers.controllers.Renderizable... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/privacy/dlp/v2/storage.proto
package com.google.privacy.dlp.v2;
/**
* <pre>
* Options defining BigQuery table and row identifiers.
* </pre>
*
* Protobuf type {@code google.privacy.dlp.v2.BigQueryOptions}
*/
public final class BigQuer... |
public class powerN {
public int powerN(int base, int n) {
return n == 0 ? 1 : base*powerN(base,n-1);
}
} |
/*
* Copyright 2011 Marc Grue.
*
* 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... |
package crazypants.enderio.conduit.redstone;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import net.minecraft.block.Block;
import n... |
/*
* 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.spaceapps.liftoffgame;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.a... |
/* -- JFLAP 4.0 --
*
* Copyright information:
*
* Susan H. Rodger, Thomas Finley
* Computer Science Department
* Duke University
* April 24, 2003
* Supported by National Science Foundation DUE-9752583.
*
* Copyright (c) 2003
* All rights reserved.
*
* Redistribution and use in source and binary forms are p... |
/**
* Copyright Microsoft Corporation
*
* 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 br.edu.fanor.progweb.arquitetura.manager.usuario;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import br.edu.fanor.progweb.arquitetura.bussines.UsuarioBO;
import br.e... |
package com.palantir.product;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.palantir.logsafe.Preconditions;
import java.util.Optional;
import javax.annotation.Generated;
import javax.annotation.Nonnull;
@Generated("com.palantir.conjure.java.types.Al... |
package com.example.coolweather.gson;
/**
* Created by 曹峰 on 2017/3/22.
*/
public class AQI {
public AQICity city;
public class AQICity {
public String aqi;
public String pm25;
}
} |
/*
* Copyright (C) Posten Norge AS
*
* 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... |
/*
* 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... |
/*
* Copyright (c) 2015 PocketHub
*
* 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... |
package eu.frenchxcore.model.cosmossdk.query.params;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import eu.frenchxcore.model.cosmossdk.types.params.v1beta1.Subspace;
import java.util.List;
@JsonIgnoreProperties(ignoreUnknown = true)
public class... |
/*
* Copyright (C) 2015 Giuseppe Cardone <ippatsuman@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... |
/*
* Copyright 2011-2016 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... |
/**
* Copyright © 2016-2021 The Thingsboard 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 applicab... |
package implementations;
import interfaces.AbstractStack;
import javax.swing.text.Element;
import java.util.Iterator;
public class Stack<E> implements AbstractStack<E> {
private Node<E> top;
private int size;
private static class Node<E> {
private E value;
private Node<E> next;
... |
package com.easyfitness.utils;
/*
* Copyright (C) 2014 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-... |
/*
* Copyright 2015 Smart Society Services B.V.
*
* 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
*/
package org.opensmartgridplatform.adapte... |
package com.emu.apps.qcm.infra.query.adapters.jdbc.dto;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@AllArgsConstructor
public class Field {
private String name;
private Object value;
} |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
//package com.zsw.persistence;
//
//import org.springframework.data.domain.AuditorAware;
//import org.springframework.stereotype.Component;
//
//import java.util.Optional;
//
///**
// * @author ZhangShaowei on 2021/8/26 14:13
// */
//@Component
//public class UserAuditor implements AuditorAware<String> {
// @Overrid... |
/*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.test.bugs._2538;
/**
* @author Filip Hrisafov
*/
public class TeamRole {
private final Group group;
public TeamRole(Group group) {
... |
package com.cerner.ccl.parser.exception;
/**
* An exception to indicate that documentation is malformed.
*
* @author Joshua Hyde
*
*/
public class InvalidDocumentationException extends CDocParsingException {
private static final long serialVersionUID = -817806435499348430L;
/**
* Create an except... |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
package dev.flashlabs.flashlibs;
import com.google.inject.Inject;
import dev.flashlabs.flashlibs.plugin.PluginInstance;
import org.spongepowered.api.plugin.Plugin;
import org.spongepowered.api.plugin.PluginContainer;
/**
* The main plugin class for FlashLibs.
*/
@Plugin(id = "flashlibs")
public final class FlashLib... |
package gun0912.tedadhelper.util;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
public class SharedPreferenceUtil {
public static final String REVIEW="review";
public static void putSharedPreference(Context context, String key, boolean v... |
/*
* #%L
* Wisdom-Framework
* %%
* Copyright (C) 2013 - 2014 Wisdom Framework
* %%
* 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... |
/*
* Copyright 2014-2018 Real Logic 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 applicable law or agree... |
package br.com.zupacademy.gabriel.proposta.proposal;
import java.util.Optional;
import javax.transaction.Transactional;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpStatus;
... |
package reka.data.memory;
import static com.google.common.base.Preconditions.checkArgument;
import static reka.util.Path.path;
import static reka.util.Path.PathElements.nextIndex;
import static reka.util.Util.runtime;
import static reka.util.Util.unchecked;
import java.util.ArrayList;
import java.util.List;
import ja... |
/*******************************************************************************
* Copyright (c) Contributors to the Eclipse Foundation
*
* 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
*... |
/**
* 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 (C) 2017 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 ... |
package com.ice.mr.service;
import com.ice.mr.dao.TOrderDao;
import com.ice.mr.info.TOrderInfo;
import ice.mr.pojo.UserOrder;
import io.seata.core.context.RootContext;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactio... |
/*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jurisdictio... |
/*
* 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 clr1;
import java.awt.Color;
import javax.swing.SwingConstants;
import lr1.LR1Parser;
import utilities.Grammar;
/**
*
* @au... |
package no.nav.dolly.bestilling.pdlforvalter.domain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import java.time.LocalDate;
import java.util.List;
@Data
@SuperBuilder
@EqualsAndHashCode(callSuper = t... |
/*
* Copyright (c) 2002-2009 Gargoyle Software Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
// Package
package org.centerom.almistack.ui.dialogs;
// Imports
import org.centerom.almistack.core.Constants;
import org.centerom.almistack.ui.providers.ImageProvider;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.fieldassist.ControlDecorat... |
package gloridifice.watersource.common.item;
import gloridifice.watersource.registry.GroupRegistry;
import net.minecraft.block.Block;
import net.minecraft.item.BlockItem;
import net.minecraft.item.Item;
public class ModNormalBlockItem extends BlockItem {
public ModNormalBlockItem(Block blockIn) {
super(bl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.