text stringlengths 7 995k |
|---|
/**
* Copyright 2011, Big Switch Networks, Inc.
* Originally created by David Erickson, Stanford University
*
* 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:/... |
package com.own.mall.member.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 会员收藏的专题活动
*
* @author zxb
* @email
* @date 2020-04-10 14:50:08
*/
@Data
@TableName("ums_m... |
package com.works.repositories._jpa;
import com.works.entities.Logger;
import org.springframework.data.jpa.repository.JpaRepository;
public interface LogRepository extends JpaRepository<Logger, Integer> {
} |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot.commands.commandGroups;
import edu.wpi.first.wpilibj2.command.ParallelCommandGroup;
import frc.robot... |
package com.supermap.entity;
import javax.persistence.*;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
@Entity
@Table(name = "ScheduleJob")
public class ScheduleJob {
/**
* id
*/
private Long id;
/**
* job名称
*/
private String jobName;
/**
* job组... |
/*
* Copyright 2012-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.linln.common.enums;
import com.linln.common.constant.StatusConst;
import lombok.Getter;
/**
* 数据状态枚举-用于逻辑删除控制
* @author 小懒虫
* @date 2018/8/14
*/
@Getter
public enum StatusEnum {
/**
* 正常的数据
*/
OK(StatusConst.OK, "正常"),
/**
* 被冻结的数据,不可用
*/
FREEZED(StatusConst.FREEZE... |
// ***************************************************************************************************************************
// * 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 regardi... |
// Copyright 2020 Goldman Sachs
//
// 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 ... |
/*********************************************************************************
* *
* The MIT License (MIT) *
* ... |
package front.main;
public class TaskFollowing {
private User user;
private boolean notify_state;
private boolean notify_discussion;
private boolean notify_edit;
public TaskFollowing(User user, boolean notify_state, boolean notify_discussion, boolean notify_edit) {
this.user = user;
... |
package com.wjwcloud.ad.dao;
import com.wjwcloud.ad.BaseTest;
import com.wjwcloud.ad.common.dao.ActivityConfigDAO;
import org.junit.Test;
import javax.annotation.Resource;
/**
* ActivityConfigDAOTest
*/
public class ActivityConfigDAOTest extends BaseTest {
@Resource
ActivityConfigDAO activityConfigDAO;
... |
package com.bonuswallet.app.service;
import android.Manifest;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.media.AudioAttributes;
... |
/*
* Copyright 2020 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Nov 27 11:36:33 GMT 2020
*/
package wheel.util;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import or... |
/**
* Copyright Indra Soluciones Tecnologías de la Información, S.L.U.
* 2013-2019 SPAIN
*
* 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... |
package com.github.wxiaoqi.security.common.util;
import org.apache.commons.lang3.StringUtils;
//邀请码生成工具
public class VisitCodeUtil {
/** 自定义进制(0,1没有加入,容易与o,l混淆) */
private static final String data= "0QWE8AS2DZX1H9C7P5IK3MJUFR4VYLTN6BG";
/**
* 通过源字符串和步长,算出新的字符串
* @param ori
* @param incr_l... |
/*
* Copyright (c) 2008-2013 Haulmont. All rights reserved.
* Use is subject to license terms, see http://www.cuba-platform.com/license for details.
*/
package com.haulmont.cuba.core.sys.jpql;
import com.haulmont.cuba.core.sys.jpql.pointer.EntityPointer;
import com.haulmont.cuba.core.sys.jpql.pointer.Pointer;
/**... |
package org.jabref.logic.protectedterms;
import java.io.File;
import java.io.FileNotFoundException;
import java.net.URISyntaxException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.jabref.log... |
package org.openecomp.sdc.vendorsoftwareproduct.dao.impl.zusammen.convertor;
import com.amdocs.zusammen.adaptor.inbound.api.types.item.Element;
import org.openecomp.convertor.ElementConvertor;
import org.openecomp.core.utilities.file.FileUtils;
import org.openecomp.sdc.vendorsoftwareproduct.dao.type.ComponentEntity;
i... |
/*******************************************************************************
* Copyright 2018 Huawei Technologies Co.,Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License... |
/* Copyright (c) 2007, 2013 Timothy Wall, Markus Karg, All Rights Reserved
*
* The contents of this file is dual-licensed under 2
* alternative Open Source/Free licenses: LGPL 2.1 or later and
* Apache License 2.0. (starting with JNA version 4.0.0).
*
* You can freely decide which license you want to apply to
* ... |
package ucar.nc2.jni.netcdf;
import java.io.IOException;
import java.lang.invoke.MethodHandles;
import java.util.Formatter;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.Before;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.slf4j.Logger;
import org.slf4j.Logg... |
/*
* 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 2010-2012 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... |
/*
* 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 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 org.benayas.jevolutionary.util;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map.Entry;
import java.util.Set;
@SuppressWarnings("serial")
public class Pair<L, R> implements Serializable, Comparable<Pair<L, R>>{
private L l;
pr... |
package edu.illinois.library.cantaloupe.perf.processor.codec;
import java.util.concurrent.TimeUnit;
import edu.illinois.library.cantaloupe.processor.codec.BMPImageReaderTest;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.BenchmarkMode;
import org.openjdk.jmh.annotations.Fork;
import... |
package org.folio.okapi.common;
import io.vertx.core.MultiMap;
import io.vertx.core.Vertx;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.http.HttpMethod;
import io.vertx.core.http.HttpServer;
import io.vertx.core.http.HttpServerOptions;
import io.vertx.core.json.JsonObject;
import io.vertx.core.logging.Logg... |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... |
package com.gnt.test.arquillian;
import static org.junit.Assert.assertNotNull;
import java.io.IOException;
import javax.ejb.EJB;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.junit.Before;
import o... |
package com.linkedpipes.plugin.transformer.sparql.update;
public class SparqlUpdateVocabulary {
private static final String PREFIX =
"http://plugins.linkedpipes.com/ontology/t-sparqlUpdate#";
public static final String CONFIG_CLASS = PREFIX + "Configuration";
public static final String CONFI... |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.documentation.render;
import org.jetbrains.annotations.NotNull;
import sun.awt.image.FileImageSource;
import sun.awt.image.ImageDecoder;
import s... |
/*
* Copyright (c) 2022 nosqlbench
*
* 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 io.github.blobanium.lt.util.logging;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class TimeLogger {
private static final Logger LOGGER = LogManager.getLogger("Loading Timer");
public static void loggerMessage(int messageSelector, double variable, String ... |
package com.vva.eventcountdown;
import java.time.LocalDate;
import java.time.Period;
import java.time.temporal.ChronoUnit;
import java.util.List;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.view.LayoutInflater;
import android.view.View... |
/*
* 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 2013-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*
* 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... |
package org.ovirt.engine.ui.frontend.server.dashboard.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.sql.DataSource;
import org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataException;
import org.ovirt.engine.ui.frontend.server.dashboard.InventoryStatus;
import org.ovirt.engine.u... |
/*
* This file is part of Industrial Foregoing.
*
* Copyright 2018, Buuz135
*
* 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 righ... |
package com.dslplatform.json.processor;
import com.dslplatform.json.CompiledJson;
import com.dslplatform.json.Nullable;
import javax.lang.model.element.*;
import javax.lang.model.type.DeclaredType;
import javax.lang.model.type.TypeMirror;
import java.util.*;
public class StructInfo {
public final TypeElement elemen... |
/*
* Copyright (c) 2013-2017 Cinchapi 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 uk.gov.hmcts.reform.laubackend.cases.response;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import uk.gov.hmcts.reform.laubackend.cases.domain.CaseSearchAudi... |
/*
* Project Name: SJBlog
* Class Name: GsonUtil.java
*
* Copyright © 2011-2016 SteveJrong All Rights Reserved.
*
* Licensed under the SteveJrong
*
* https://www.steve.jrong.top/
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an ... |
/*
* 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 jewelleryshop.object;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQ... |
/* Generated By:JavaCC: Do not edit this line. TokenSequenceParserConstants.java */
package edu.stanford.nlp.ling.tokensregex.parser;
/**
* Token literal values and constants.
* Generated by org.javacc.parser.OtherFilesGen#start()
*/
interface TokenSequenceParserConstants {
/** End of File. */
int EOF = 0;
... |
package io.gomint.server.world.block;
import io.gomint.inventory.item.ItemPoisonousPotato;
import io.gomint.inventory.item.ItemPotato;
import io.gomint.inventory.item.ItemStack;
import io.gomint.server.registry.RegisterInfo;
import io.gomint.world.block.BlockPotato;
import io.gomint.world.block.BlockType;
import java... |
/*
* Copyright (c) 2007 Tom Parker <thpr@users.sourceforge.net>
*
* This program 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 Foundation; either version 2.1 of the License, or (at your option)
* any later... |
/**
* ImportMoreStringUtils.java - is a helper class providing String-related methods as used within the ImportMoreXtension developed at the Digital
* Academy of the Academy of Sciences and Literature | Mainz.
* @author Patrick D. Brookshire
* @version 1.0.0
*/
package org.adwmainz.da.extensions.importmore.utils;... |
/*
* Copyright 2012 Ryan W Tenney (http://ryan.10e.us)
* and Martello Technologies (http://martellotech.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://... |
package com.wzh.myshop.service;
import com.wzh.myshop.commons.base.BaseService;
import com.wzh.myshop.domain.entity.ContentCategory;
import com.wzh.myshop.domain.entity.ContentCategoryExample;
import java.util.List;
/**
* @author wzh
* @date 2019/9/26 - 10:00
*/
public interface ContentCategoryService extends Bas... |
/**
* FileVisitor功能性实现,包括递归删除、拷贝等
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
package org.aoju.bus.core.io.file.visitor; |
package com.rideaustin.service.onboarding;
import java.util.EnumSet;
import java.util.Set;
import java.util.function.Supplier;
import org.springframework.stereotype.Component;
import com.rideaustin.model.enums.CityApprovalStatus;
import com.rideaustin.rest.model.DriverOnboardingInfo;
@Component
public class CityApp... |
/*
* Copyright 2021 Apollo 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 law or agreed to i... |
package ca.uhn.fhir.jpa.subscription.match.config;
/*
* #%L
* HAPI FHIR Subscription Server
* %%
* Copyright (C) 2014 - 2022 Smile CDR, 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 L... |
/*
* 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 ... |
//=== File Prolog =============================================================
// This code was developed by NASA, Goddard Space Flight Center, Code 588
// for the Scientist's Expert Assistant (SEA) project.
//
//--- Contents ----------------------------------------------------------------
// class CoordinatesPanel
//... |
package co.matisses.bcs.b1ws.ws.goodsreceipt;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Clase Java para anonymous c... |
/*******************************************************************************
* Copyright (C) 2018 Joao Sousa
*
* 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, in... |
/*
* COMA 3.0 Community Edition
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program ... |
package com.deer.wms.produce.manage.dao;
import com.deer.wms.produce.manage.model.MtAloneProductProcessBom;
import com.deer.wms.produce.manage.model.MtAloneProductProcessBomParams;
import com.deer.wms.produce.manage.model.MtAloneProductProcessBomVO;
import com.deer.wms.project.seed.core.mapper.Mapper;
import org.apach... |
package com.onlythenaive.casestudy.slimchat.service.core.security.account;
import com.onlythenaive.casestudy.slimchat.service.core.utility.persistence.EntityPersister;
/**
* Security account persister.
*
* @author Ilia Gubarev
*/
public interface AccountPersister extends EntityPersister<AccountEntity> {
} |
package hm.binkley.basilisk.configuration;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.a... |
package com.anthonycaliendo.googleimagesearch;
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 ApplicationTe... |
// Escrever em arquivo.txt ou CRIAR um .txt
package treino.basicoavancado.biblioteca;
import java.nio.file.*;
public class EscreverEmAquivo {
public static void main(String[] args) {
Path caminho = Paths.get("D:/Usuários/Mateus/Área de Trabalho/hello.txt");
// Mesmo se o caminho não existir, o pr... |
package com.wemirr.platform.tools.controller;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.ZipUtil;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wemirr.framework.commons.entity.Result;
import com.wemirr.framework.commons.exception.CheckedException;
import com.wemirr.... |
/*
* Copyright (c) 2017, Regents of the University of Massachusetts Amherst
* All rights reserved.
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
* * Redistributions of source code must retain the above copyri... |
/*
* Copyright (c) 2011-2021, baomidou (jobob@qq.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 by appli... |
package com.brainstorm.domain;
import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;
@Document(collection = "oauth_client_token")
@Data
public class O... |
package com.core.server;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class UniqueIdentifier
{
public static final long INVALID_ID = -1L;
private static List<Long> ids = new ArrayList<Long>();
private static final long RANGE = 10000L;
private static int index = 0;
stat... |
package ${__package__}.web.service.engine;
import ${__package__}.web.repository.engine.IRepositoryEngine;
import org.springframework.beans.factory.BeanFactoryAware;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.EnvironmentAware;
/**
* {@code IProjectEngine}
*
* @aut... |
package com.ilkengin.core.gateway.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authenti... |
/*
* 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 ... |
/*
* 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 ... |
/**
* Generated with Acceleo
*/
package org.wso2.developerstudio.eclipse.gmf.esb.parts.forms;
// Start of user code for imports
import java.util.ArrayList;
import java.util.List;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
import org.eclipse.... |
package de.tum.in.www1.artemis.web.rest.dto;
import java.time.ZonedDateTime;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* This is a dto for the repository export options.
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class SubmissionExportOptionsDTO {
private boolean exportAllParticipant... |
/*
* #%L
* BroadleafCommerce Profile
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* 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... |
package com.paypal.springboot.resteasy;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import org.jboss.resteasy.core.AsynchronousDispatcher;
import org.jboss.resteasy.core.Dispatcher;
import org.jboss.resteasy.core.ResourceMethodRegistry;
i... |
/*
* 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 2009 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 applica... |
/*
* 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... |
package es.upm.miw.betca_tpv_user.domain.exceptions;
public class ConflictException extends RuntimeException {
private static final String DESCRIPTION = "Conflict Exception";
public ConflictException(String detail) {
super(DESCRIPTION + ". " + detail);
}
} |
package me.duncanruns.alwaysthunder.mixin;
import net.minecraft.server.MinecraftServer;
import net.minecraft.world.SaveProperties;
import net.minecraft.world.level.ServerWorldProperties;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
impor... |
/*
* $Id: KmlInfo.java,v 1.11 2006/12/01 20:42:31 jeffmc Exp $
*
* Copyright 1997-2015 Unidata Program Center/University Corporation for
* Atmospheric Research, P.O. Box 3000, Boulder, CO 80307,
* support@unidata.ucar.edu.
*
* This library is free software; you can redistribute it and/or modify it
* under the ... |
// Copyright 2018 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package com.folioreader;
import android.content.res.Resources;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.Log;
import androidx.annotation.ColorInt;
import androidx.annotation.ColorRes;
import androidx.core.content.ContextCompat;
import org.json.JSONObject;
/**
* Configuration class... |
package com.example.piotr.lab5.database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import com.example.piotr.lab5.R;
import com.example.piotr.lab5.database.dao.ProjectGroupDAO;
import com.example.piotr.lab5.database.dao.StudentDAO;
i... |
/***************************************************************************************************
*
* Copyright (c) 2017 Open Universiteit - www.ou.nl
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistribu... |
class o9ISTtJA9NV1PK {
public boolean KzpN;
public int[] uC;
public H[][] gYoUdlWn;
public static void Hf9uZxJ (String[] Lafr6T1oKQ9de) throws oS {
;
}
public static void vMlOOHjpx (String[] saHg) throws euXf {
MwAvPC68wfT9Y[] EcFgnoVE = !!this[ !YjXHEdayQST6ER.kCCHZA];
... |
package net.thucydides.core.reports;
import net.thucydides.core.annotations.Feature;
import net.thucydides.core.model.Story;
import net.thucydides.core.model.TestOutcome;
import net.thucydides.core.model.TestStepFactory;
import org.joda.time.DateTime;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import ja... |
package com.blankj.utilcode.util;
import android.app.Activity;
import android.app.Application;
import android.content.ComponentName;
import android.content.Context;
import android.content.ContextWrapper;
import android.content.Intent;
import android.content.res.Configuration;
import android.content.res.Resources;
impo... |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.extensions.impl;
import com.intellij.openapi.extensions.*;
import com.intellij.util.containers.ContainerUtil;
import com.intellij.util.containers.Mul... |
package com.hwy.shipyard.service;
import com.hwy.shipyard.dataobject.WarehouseEntry;
import com.hwy.shipyard.dataobject.WarehouseEntryDetail;
public interface WarehouseEntryService {
/**
* 添加入库单
* @param warehouseEntry
* @return
*/
Object addWarehouseEntry(WarehouseEntry warehouseEntry);
... |
/*
import java.io.*;
import java.net.*;
public class ServerTCP {
static int port = 3310;
public static void main (String[] args) throws IOException {
if (args.length >= 1)
port = Integer.parseInt(args[0]);
ServerSocket sSock = new ServerSocket(port);
System.out.println("server: created so... |
package invtweaks.forge;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods... |
/*******************************************************************************
* Copyright (c) 2007 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 availabl... |
/*
* Copyright 2015-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.