text
stringlengths
7
995k
/* * Copyright 2013, Unitils.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 t...
/* * Copyright (c) 2012 - 2018 Arvato Systems GmbH * * 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...
/* * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * * Software distributed under th...
package io.swagger.client; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.nio.file.Files; import java.nio.file.Paths; import java.text...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
/* * Copyright 2010-2016 OrientDB LTD (http://orientdb.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 ...
/* * The MIT License * * Copyright 2017 Siggi. * * 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, m...
package com.muern.framework.utils; import java.nio.charset.StandardCharsets; public final class ByteUtil { /** * 将byte数组转换为表示16进制值的字符串,如:byte[]{8,18}转换为:0813 * @param src 需要转换的byte数组 * @return 转换后的十六进制字符串 */ public static String byteToHex(byte[] src) { int iLen = src.length; // 每个byte(8位)用两个(16进制)字符才能表...
package cgeo.geocaching.connector.gc; import cgeo.geocaching.R; import cgeo.geocaching.SearchResult; import cgeo.geocaching.connector.AbstractConnector; import cgeo.geocaching.connector.ILoggingManager; import cgeo.geocaching.connector.UserAction; import cgeo.geocaching.connector.capability.FieldNotesCapability; impor...
/* * Copyright 2019 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...
package com.hundsun.network.gates.genshan.biz.dao.auction; import com.hundsun.network.gates.genshan.biz.domain.auction.AuctionFreeBid; import java.util.List; public abstract interface AuctionFreeBidDAO { public abstract Long insert(AuctionFreeBid paramAuctionFreeBid); public abstract AuctionFreeBid selectByPrima...
package com.sequenceiq.environment.api.v1.platformresource; import static com.sequenceiq.environment.api.doc.ModelDescriptions.CONNECTOR_NOTES; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; ...
/* * Copyright 2002-2018 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...
package com.iotlwh.devicemanager.task; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class DmTaskApplication { public static void main(String[] args) { SpringApplication.run(DmTaskApplication.class, args); } ...
package edu.fiuba.algo3.vista; import edu.fiuba.algo3.controlador.ElegirExclusividadEventHandler; import edu.fiuba.algo3.controlador.ElegirMultiplicadorEventHandler; import edu.fiuba.algo3.modelo.Jugador; import edu.fiuba.algo3.modelo.Modificadores.Exclusividad; import edu.fiuba.algo3.modelo.Modificadores.Multiplicado...
/* * Copyright 2002-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 ap...
//package suvamjain.example.com.dbmsproject; // //import android.app.Notification; //import android.app.NotificationManager; //import android.app.PendingIntent; //import android.content.BroadcastReceiver; //import android.content.Context; //import android.content.Intent; //import android.os.Build; //import android.supp...
package com.service.tokenseeder.dao; import java.util.List; import org.hibernate.HibernateException; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.Transaction; import org.hibernate.exception.SQLGrammarException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.serv...
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
/* * 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 jadx.core.dex.nodes; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.slf4j.Logger; import org.slf4j.Logg...
/* * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edi...
/***** BEGIN LICENSE BLOCK ***** * Version: EPL 1.0/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Eclipse Public * License Version 1.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-...
/** * Copyright 2007-2016, Kaazing Corporation. 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 require...
/* * Copyright 2014 The Netty Project * * The Netty Project 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 re...
package com.codingchili.core.metrics; import com.codahale.metrics.Metric; import com.fasterxml.jackson.annotation.JsonIgnore; import io.vertx.core.json.JsonObject; import io.vertx.ext.dropwizard.impl.Helper; import java.util.*; import java.util.concurrent.TimeUnit; /** * Configuration used to filter metrics. */ pu...
/* * arcus-java-client : Arcus Java client * Copyright 2010-2014 NAVER Corp. * * 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 * * Unles...
/* * Copyright 2015 data Artisans GmbH * * 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 org.infinispan.cdi.test.cachemanager.external; import org.infinispan.cdi.ConfigureCache; import org.infinispan.configuration.cache.Configuration; import org.infinispan.configuration.cache.ConfigurationBuilder; import org.infinispan.manager.EmbeddedCacheManager; import org.infinispan.test.TestingUtil; import or...
/* File: SyncSet.java Originally written by Doug Lea and released into the public domain. This may be used for any purposes whatsoever without acknowledgment. Thanks for the assistance and support of Sun Microsystems Labs, and everyone contributing, testing, and using this code. History: Date Who ...
package gugugu.listeners; import cc.moecraft.icq.PicqBotX; import cc.moecraft.icq.event.EventHandler; import cc.moecraft.icq.event.IcqListener; import cc.moecraft.icq.event.events.local.EventLocalSendGroupMessage; import cc.moecraft.icq.event.events.local.EventLocalSendMessage; import cc.moecraft.icq.event.events.loca...
package br.com.zupacademy.ricardo.casadocodigo.controllers.dto; public class View { public static interface LivroView { public static interface Minimo {} public static interface Detalhes extends Minimo {} } }
package com.example.constant; /** * 数据库类型 * * @author wliduo[i@dolyw.com] * @date 2019/4/6 19:53 */ public enum DataBaseEnum { /** * MYSQL */ MYSQL("mysql"), /** * ORACLE */ ORACLE("oracle"), /** * POSTGRESQL */ POSTGRESQL("postgresql"), /** * SQLSERV...
package io.scalecube.services; import static com.google.common.base.Preconditions.checkArgument; import io.scalecube.services.routing.Router; import io.scalecube.transport.Message; import java.util.Collection; import java.util.Optional; public class DummyRouter implements Router { private Object empty; public ...
package com.java110.web.smo; import com.java110.common.exception.SMOException; import com.java110.core.context.IPageData; import com.java110.core.context.PageData; import java.util.List; import java.util.Map; /** * 控制类业务接口 * Created by wuxw on 2018/4/28. */ public interface IFlowServiceSMO { /** * 用户登...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.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 requ...
package com.example.android.scaletypeexplorer; import android.annotation.SuppressLint; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Pa...
package com.sap.cloud.lm.sl.cf.web.api.impl; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.core.Response; import javax.ws.rs.core.SecurityContext; import org.cloudfoundry.client.lib.CloudControllerClient; import org.clo...
package com.orange.client.githubimport; import com.orange.client.githubimport.model.Request.IssueRequest; import com.orange.client.githubimport.model.Response.StatusResponse; import feign.Param; import feign.RequestLine; import java.util.Date; import java.util.List; /** * Copyright (C) 2016 Orange * <p> * This so...
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su conteni...
public int missingNumber(int[] nums) { int res = nums.length; for(int i=0; i<nums.length; i++){ res = res ^ i ^ nums[i]; // a^b^b = a } return res; }
// Copyright 2015 The Bazel Authors. 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 appl...
/* * 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 org.dasein.cloud.aws.platform.support; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.StringEntity; import org.apache.log4j.Logger; import org.dasein...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.compute.v2019_03_01; import com.fasterxml.jackso...
package com.ciel.loadstar.user.controller; import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.ciel.loadstar.infrastructure.constants.Constants; import com.ciel.loadstar.infrastructure.dto.web.ReturnModel; import com.ciel.loadstar.infr...
/* * Copyright (c) 2015-2021, Antonio Gabriel Muñoz Conejo <antoniogmc at gmail dot com> * Distributed under the terms of the MIT License */ package com.github.tonivade.claudb.command.string; import com.github.tonivade.claudb.command.DBCommand; import com.github.tonivade.claudb.data.Database; import com.github.toni...
package mysticmods.mysticalworld.items; import mysticmods.mysticalworld.MysticalWorld; import net.minecraft.client.util.ITooltipFlag; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.ServerPlayerEntity; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.m...
/* * Copyright 2013 Google 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.bazl.dna.lims.core.compare.relative.po; /** * Created by Sun on 2019/4/2. */ public class ParentageMatchOptions { private int matchThreshold; private int halfDiffCount; private String populationId; public ParentageMatchOptions() { } public int getMatchThreshold() { retur...
/* * * * Copyright 2017 Symphony Communication Services, LLC. * * Licensed to The Symphony Software Foundation (SSF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SSF licenses this file * to...
// This file was automatically generated from IFCDOC at https://technical.buildingsmart.org/. // Very slight modifications were made to made content align with ifcXML reference examples. // Use this class library to create IFC-compliant (web) applications with XML and JSON data. // Author: Pieter Pauwels, Eindhoven Uni...
package com.kbalazsworks.stackjudge.domain.repositories; import com.kbalazsworks.stackjudge.domain.entities.CompanyOwnRequest; import lombok.NonNull; import lombok.extern.log4j.Log4j2; import org.springframework.stereotype.Repository; @Repository @Log4j2 public class CompanyOwnRequestRepository extends AbstractReposi...
package hw; import java.util.Scanner; public class hw03_105021058 { /* * Topic: 讓使用者輸入一正整數n,用for迴圈計算n!後輸出。 * Date: 2016/10/03 * Author: 105021058 蕭懋霖 */ public static void main(String[] args) { // TODO Auto-generated method stub Scanner scn=new Scanner(System.in); int a=scn.nextInt(); int sum=1;...
package cn.felord.wepay.ali.sdk.api.response; import cn.felord.wepay.ali.sdk.api.internal.mapping.ApiField; import cn.felord.wepay.ali.sdk.api.AlipayResponse; /** * ALIPAY API: alipay.marketing.campaign.activity.offline.create response. * * @author auto create * @version $Id: $Id */ public class AlipayMarketing...
/* * Copyright 2020 Krzysztof Slusarski * * 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 ag...
/* * Copyright 2013 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 applica...
package com.bysj.event.znz.msg; /** * @Author: Hv * @E-MAIL: huowei@yuntongxun.com * @CreateDate: 2021/03/20 19:19 * @Description: * @Version: 1.0 */ import com.fasterxml.jackson.annotation.JsonProperty; public class WsJsonResp extends BaseJsonResp { @JsonProperty("token") private String token; @Jso...
package fr.jayasoft.ivy.repository.vfs; import java.io.IOException; import java.io.InputStream; import org.apache.commons.httpclient.HostConfiguration; import org.apache.commons.httpclient.HttpConnection; import org.apache.commons.httpclient.HttpConnectionManager; import org.apache.commons.httpclient.params.HttpConne...
package com.face.facemaker.model.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Service; import com.face.facemaker.model.dao.SurpriseTableDao; import com.face.facemaker.model.dto.Surprise_Table; @Service...
package sanavesa.model; import javafx.beans.property.ReadOnlyStringProperty; import javafx.beans.property.ReadOnlyStringWrapper; import sanavesa.model.versionControl.ICommand; import sanavesa.model.versionControl.VersionControl; public final class Project { private final ReadOnlyStringWrapper name; private final La...
import java.awt.Color; import java.awt.Graphics2D; import java.awt.Toolkit; import java.awt.image.ImageObserver; import java.io.File; public class Roo extends Player { public enum RooState implements State { PlayerState, OVERHEAD_MP, GUTPUNCH_HP, FIREBALL_CHARGE, FIREBALL_LAUNCH, FIREBALL_RECOVER, TATSU_START, ...
/******************************************************************************* * Copyright (c) 2005, 2014 springside.github.io * * Licensed under the Apache License, Version 2.0 (the "License"); *******************************************************************************/ package org.springside.modules.utils; ...
/* * 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.spuit.maum.diaryserver.infrastructure.webclient; import com.spuit.maum.diaryserver.domain.diary.Emotion; import com.spuit.maum.diaryserver.domain.diary.Music; import java.util.List; /** * Rest 클라이언트 통신을 위한 서비스. * * @author cherrytomato1 * @version 1.0.0 */ public interface WebClientDispatcher { St...
/** * Copyright 2006-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 * * Unle...
package ddth.dasp.servlet.logging; import java.io.Serializable; import java.io.UnsupportedEncodingException; import java.util.UUID; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; /** * This class represents a request log entry. * * Log information:...
/* * 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 (c) 2001-2017 Mathew A. Nelson and Robocode contributors * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://robocode.sourceforge.net/license/ep...
package com.ruoyi.common.utils.file; import java.io.File; import java.io.IOException; import org.apache.commons.io.FilenameUtils; import org.springframework.web.multipart.MultipartFile; import com.ruoyi.common.constant.Constants; import com.ruoyi.common.exception.file.FileNameLengthLimitExceededException; import com....
/* * 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 cn.hanbell.oa.ejb; import cn.hanbell.oa.comm.SuperEJBForEFGP; import cn.hanbell.oa.entity.HZGLPCDDetail; import javax.ejb.Stat...
package com.ruoyi.common.utils; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.NodeList; import com.ruoyi.common.utils.spring.SpringUtils; import com.ruoyi.project.system.config.service.ConfigServi...
/* * The MIT License * Copyright (c) 2012 Microsoft Corporation * * 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,...
package es.codeurjc.users; public class UserDTO { private Long id; private String firstName; private String lastName; public UserDTO(Long id, String firstName, String lastName) { this.id = id; this.firstName = firstName; this.lastName = lastName; } public Long getId()...
package antlr.collections; /* ANTLR Translator Generator * Project led by Terence Parr at http://www.jGuru.com * Software rights: http://www.antlr.org/license.html * * $Id: //depot/code/org.antlr/release/antlr-2.7.5/antlr/collections/List.java#1 $ */ import java.util.Enumeration; import java.util.NoSuchElementEx...
/* * SPDX-License-Identifier: Apache-2.0 * * Copyright 2020-2021 Andres Almiray. * * 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 ...
package com.simple.authentication.authenticator; import io.dropwizard.auth.AuthenticationException; import io.dropwizard.auth.Authenticator; import io.dropwizard.auth.basic.BasicCredentials; import java.util.Optional; public class SimpleAuthenticator implements Authenticator<BasicCredentials, User> { @Override ...
package net.modificationstation.stationapi.mixin.common; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.block.BlockBase; import net.minecraft.block.material.Material; import net.minecraft.entity.player.PlayerBase; import net.minecraft.item.Block; import net.minecraft.item.It...
package com.mobi.catalog.api.mergerequest; /*- * #%L * com.mobi.catalog.api * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2016 - 2017 iNovex Information Systems, Inc. * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as publis...
// 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.openapi.editor.impl; import com.intellij.diagnostic.Dumpable; import com.intellij.openapi.Disposable; import com.intellij.openapi.application.ApplicationMan...
/* Copyright (c) 2012, 2014, Credit Suisse (Anatole Tresch), Werner Keil and others by the @author 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 License at http://www.apache.org/licenses/LICE...
package ru.job4j.generic; public class SimpleArray<E> { Object[] objects; int index = 0; public SimpleArray(int size) { this.objects = new Object[size]; } public void add(E value) { isValidPosition(index); this.objects[index++] = value; } public E get(int positio...
package com.microsoft.azure.servicebus.security; import java.time.Duration; import java.time.Instant; import java.util.concurrent.CompletableFuture; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.microsoft.aad.adal4j.AsymmetricKeyCredential; import com.microsoft.aad.adal4j.AuthenticationCallback...
package net.ravendb.client.documents.session.tokens; import org.apache.commons.lang3.StringUtils; public class SuggestToken extends QueryToken { private final String _fieldName; private final String _alias; private final String _termParameterName; private final String _optionsParameterName; priv...
package com.project.convertedCode.servlets.vendor.laravel.framework.src.Illuminate.Session; import com.runtimeconverter.runtime.includes.RuntimeIncludable; import com.runtimeconverter.runtime.includes.RuntimeConverterServlet; import com.runtimeconverter.runtime.RuntimeEnv; import javax.servlet.http.HttpServletRequest;...
package com.gentics.mesh.core.user; import static com.gentics.mesh.assertj.MeshAssertions.assertThat; import static com.gentics.mesh.core.data.User.composeIndexName; import static com.gentics.mesh.core.data.perm.InternalPermission.CREATE_PERM; import static com.gentics.mesh.core.data.perm.InternalPermission.DELETE_PER...
/* * XML Type: patternType * Namespace: http://geronimo.apache.org/xml/ns/deployment-1.2 * Java type: org.apache.geronimo.deployment.xbeans.PatternType * * Automatically generated - do not modify. */ package org.apache.geronimo.deployment.xbeans.impl; /** * An XML patternType(@http://geronimo.apache.org/xml/ns/...
package com.iluwatar.presentation; import lombok.Getter; import lombok.extern.slf4j.Slf4j; import javax.swing.*; import java.awt.*; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; /** * Generates the GUI of albums. */ @Getter @Slf4j public class View { /** * the model that controls t...
package com.example.demo.config; import com.example.demo.filter.TimeFilter; import com.example.demo.interceptor.TimeInterceptor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.web.servlet.FilterRegistrationBean; import org.springframework.context.annotation.Bean; import ...
package com.risk.riskmanage.util; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) public @interface Properties { String name(); }
package net.pechorina.config; import io.jsonwebtoken.ExpiredJwtException; import io.jsonwebtoken.IncorrectClaimException; import io.jsonwebtoken.MalformedJwtException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.security.core.Authentication; import org.springframework.security.c...
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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.apach...
/* * 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.maileon.api.mailings.trigger; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.DocumentHelper; import org.dom4j.Element; import org.dom4j.io.SAXReader; import java.io.StringReader; import org.xml.sax.SAXException; public class DispatchOptionsXmlSerializer { public stat...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
package com.cloud.network; import com.cloud.acl.SecurityChecker.AccessType; import com.cloud.agent.manager.Commands; import com.cloud.api.ApiDBUtils; import com.cloud.api.command.admin.network.DedicateGuestVlanRangeCmd; import com.cloud.api.command.admin.network.ListDedicatedGuestVlanRangesCmd; import com.cloud.api.co...
/* * Copyright 2012-2018 Chronicle Map Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
/* * Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) 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 * * ...
package org.opentosca.bus.application.api.resthttp.processor; import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.component.restlet.RestletConstants; import org.json.simple.JSONObject; import org.opentosca.bus.application.api.resthttp.route.Route; import org.opentosca.bus.appli...
/** * 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...