text
stringlengths
7
995k
package info.shibafu528.preference.fix.v7.numberpicker; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { ...
package cn.moo.trainingcollege.dao.impl; import cn.moo.trainingcollege.dao.BalanceDao; import cn.moo.trainingcollege.entity.BalanceEntity; import org.springframework.stereotype.Repository; /** * Created by 小春 on 2017/2/21. */ @Repository public class BalanceDaoImpl extends BaseDaoImpl<BalanceEntity> implements Bala...
package com.hiwhitley.demo; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Toast; public class MainActivity extends AppCompatActivity { private AmountView mAmountView; @Override protected void onCreate(Bundle savedInstanceState)...
/* * SPDX-License-Identifier: Apache-2.0 * * Copyright 2020-2022 The JReleaser 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/LICENS...
/* * Copyright (c) 2018 "Neo4j, Inc." [https://neo4j.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 ap...
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your opti...
package io.github.arnabmaji19.whatsnow; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; public class SupportActivity extends A...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.thread.design.future; /** * * @author fgh * 2016年3月13日 上午11:48:34 */ public class FutureClient { /** * 声明为final 因为要在线程中使用 * @param request * @return */ public Data request(final String request) { //1 想要一个代理(Data接口的实现类) 先返回给发送消息的客户端,告诉他请求已经接收到,可以做其他的事情 final FutureData futureData = new F...
package com.eegeo.apisamples; import android.content.pm.ActivityInfo; import android.os.Bundle; import android.widget.RelativeLayout; import com.eegeo.mapapi.EegeoApi; import com.eegeo.mapapi.EegeoMap; import com.eegeo.mapapi.MapView; import com.eegeo.mapapi.map.OnMapReadyCallback; import com.eegeo.indoors.IndoorMapV...
/* * FindBugs - Find Bugs in Java programs * Copyright (C) 2003-2008 University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, o...
/* Shelby Goudy CS665 O2 Wk 6 Assignment 17 Aug 21 */ package edu.bu.met.cs665.machine; import edu.bu.met.cs665.drinks.HotBeverages; import edu.bu.met.cs665.drinks.Milk; import edu.bu.met.cs665.drinks.Sugar; /** * REFACTORED: CoffeeMachine implements the State & Singleton patterns. */ public class ...
package io.github.speedbridgemc.config.processor.api; import com.google.common.collect.ImmutableList; import org.jetbrains.annotations.NotNull; import javax.lang.model.AnnotatedConstruct; import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.TypeElement; import javax.lang.model.element.Var...
package cdn.retrofito.model; import com.google.gson.annotations.SerializedName; public class Owner{ @SerializedName("gists_url") private String gistsUrl; @SerializedName("repos_url") private String reposUrl; @SerializedName("following_url") private String followingUrl; @SerializedName("starred_url") priva...
package de.sswis.controller.handlers; import de.sswis.controller.FileManager; import de.sswis.controller.ModelParser; import de.sswis.controller.ModelProvider; import de.sswis.model.MixedStrategy; import de.sswis.view.AbstractManageStrategiesView; import de.sswis.view.AbstractNewStrategyView; import de.sswis.view.mode...
/** * 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.batch.protocol.models; import com.microsoft.rest.DateTimeRf...
package be.fnord.DefaultLogic; import java.util.HashSet; import be.fnord.util.logic.DefaultReasoner; import be.fnord.util.logic.WFF; import be.fnord.util.logic.defaultLogic.DefaultRule; import be.fnord.util.logic.defaultLogic.RuleSet; import be.fnord.util.logic.defaultLogic.WorldSet; public class SydneyPapers { pu...
/* * Copyright (c) 2014 Red Hat, Inc. and others * * 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 ...
/* * Copyright 2017 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 * * Unless required by applicable law or agreed to in w...
/* * Copyright 2014 - 2021 Blazebit. * * 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 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...
/* * Copyright 2018 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * 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) 2019-2020 GeyserMC. http://geysermc.org * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
package net.kunmc.lab.itemcollectioncompetition.game; import net.kunmc.lab.itemcollectioncompetition.ItemCollectionCompetition; import net.kunmc.lab.itemcollectioncompetition.Util; import net.kunmc.lab.itemcollectioncompetition.config.DisplayType.DisplayTypeEnum; import net.kunmc.lab.itemcollectioncompetition.team.ICC...
package io.quarkus.devtools.codestarts.quarkus; import static io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartCatalog.Language.JAVA; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.DisabledOnOs; import org.junit.jupiter.api.condition.OS; import org.junit.jupiter.api.extension.Register...
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package warehouses; import globalDefinition.RespondTimeDefinition; import java.io.Serializable; import java.util.HashMap; public class JobRecord implements Serializable{ private static final long serialVersionUID = 1L; private int numOfConcurrentWorker; private int failCount; private double throughput; privat...
// Copyright 2018 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...
/* * Copyright 2018 JBoss by Red Hat. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package com.fancige.exception; public class PostNotFoundException extends RuntimeException { private static final long serialVersionUID = 1504411930049706457L; public PostNotFoundException() { super(); } public PostNotFoundException(String message, Throwable cause) { super(message, cause); } public Post...
/* * Copyright (c) 2018, Nordic Semiconductor * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list of conditi...
package snail.vm.values; import javax.annotation.Nonnull; import java.util.Objects; /** * A string value. */ public final class SnailString extends SnailSimple { private final String value; public SnailString(@Nonnull String value) { this.value = Objects.requireNonNull(value); } @Override ...
package afsinka.view; import javax.faces.bean.ManagedBean; import javax.faces.bean.ManagedProperty; import javax.faces.event.ActionEvent; import afsinka.datatype.Applicant; @ManagedBean public class CaptchaView { @ManagedProperty(value = "#{applicant}") private Applicant applicant; public Applicant getApplicant...
package io.fabric8.openshift.api.model.machineconfig.v1; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude;...
package com.direwolf20.buildinggadgets.common.items; public class DestructionGadget extends Gadget { }
package com.github.vlsidlyarevich.unity.web.security.model; import com.github.vlsidlyarevich.unity.domain.model.User; import lombok.RequiredArgsConstructor; import org.springframework.security.core.Authentication; import org.springframework.security.core.GrantedAuthority; import java.util.Collection; @RequiredArgsCo...
package com.ishvatov.service.inner.waypoint; import com.ishvatov.model.dto.WaypointDto; import com.ishvatov.service.inner.BaseInnerService; /** * Defines a basic interface to interact with * order DAO layer. * * @author Sergey Khvatov */ public interface WaypointInnerService extends BaseInnerService<Integer, Way...
/* * #%L * Alfresco Records Management Module * %% * Copyright (C) 2005 - 2019 Alfresco Software Limited * %% * This file is part of the Alfresco software. * - * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * p...
/* * 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) 2022 SAP SE or an SAP affiliate company and XSK contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License, v2.0 * which accompanies this distribution, and is available at * http://www.apache.org/licenses/LICENSE-...
package com.haohaohu.cachemanage.observer; /** * 数据变化监听接口 * * @author haohao(ronghao3508@gmail.com) on 2017/12/16 下午 05:31 * @version v1.0 */ public interface IDataChangeListener { /** * 数据变化 * * @param key 主键 * @param value 值 */ void onDataChange(String key, String value); }
import processing.core.*; import processing.data.*; import processing.event.*; import processing.opengl.*; import java.*; import java.util.*; import processing.sound.*; import processing.video.*; import java.util.HashMap; import java.util.ArrayList; import java.io.File; import java.io.BufferedReader; impo...
package au.gov.ga.geodesy.domain.model.sitelog; import javax.persistence.Column; import javax.persistence.Embedded; import javax.persistence.MappedSuperclass; import javax.validation.Valid; import javax.validation.constraints.Size; /** * http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/localInterferences/2004/baseLoc...
package com.abc.api.repository; import java.util.List; import com.abc.api.entity.DeptDAO; import com.abc.api.entity.SklDAO; import com.abc.api.model.EmployeeDetails; public interface CompanyRepository { void saveDepartmentDetails(List<DeptDAO> deptDAO); void saveSkillDetails(List<SklDAO> sklDAO); List<Emplo...
package com.aibyd.appsys.controller; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; impo...
package annotate4j.core.tests.validation.data.container; import annotate4j.core.bin.annotation.ContainerSize; import annotate4j.core.bin.annotation.FieldOrder; import annotate4j.core.tests.utils.CauseException; import annotate4j.core.validation.exceptions.WrongContainerSizeFieldTypeException; import java.util.List; ...
package com.konkerlabs.platform.registry.test.web.controllers; import static org.mockito.Mockito.when; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.model; import java.util.ArrayList; import java.u...
package com.networknt.eventuate.reference.restcommand.handler; import com.networknt.client.Http2Client; import com.networknt.exception.ApiException; import com.networknt.exception.ClientException; import io.undertow.UndertowOptions; import io.undertow.client.ClientConnection; import io.undertow.client.ClientRequest; i...
/* * Copyright 2012 Aluminum 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 law or agreed to...
/* * Copyright (c) 2016, 2017, 2018, 2019 FabricMC * * 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 net.minecraft.client.renderer.tileentity; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.entity.Entity; import net.minecraft.tileentity.MobSpawnerBaseLogic; import net.minecraft.tileentity.TileEntityMobSpawner; public class TileEntityMobSpawner...
/* * 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...
package com.maq.pehlaclass.mainui.oc_typing; import android.graphics.PointF; import android.view.View; import com.maq.pehlaclass.controls.OBControl; import com.maq.pehlaclass.controls.OBGroup; import com.maq.pehlaclass.controls.OBPath; import com.maq.pehlaclass.mainui.OC_SectionController; import com.maq.pehlaclass.u...
package co.edu.eci.ieti.cadanwheels.controllers; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import co.edu.eci.ieti.cadanwheels.entities.Vehiculo; import co.edu.eci.ieti.cadan...
package userManagement; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import org.springframework.web.servlet.support.ServletUriComponentsBuilder; import java.net.URI; import java.util.List; @RestControl...
/******************************************************************************* * Copyright 2015, 2017 Francesco Benincasa (info@abubusoft.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 Lic...
/* * Encog(tm) Core v3.3 - Java Version * http://www.heatonresearch.com/encog/ * https://github.com/encog/encog-java-core * Copyright 2008-2014 Heaton Research, 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...
/** * * 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"); ...
package org.dynmap.modsupport.impl; import org.dynmap.modsupport.BiomeTextureFile; import org.dynmap.modsupport.TextureFileType; public class BiomeTextureFileImpl extends TextureFileImpl implements BiomeTextureFile { public BiomeTextureFileImpl(String id, String filename) { super(id, filename, TextureFil...
/* * 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...
/* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license * Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to edit this template */ package javaapplication1; import java.sql.*; /** * * @author dodz */ public class nurse_home extends javax.swing...
package es.redmic.es.data.common.mapper; /*- * #%L * ElasticSearch * %% * Copyright (C) 2019 REDMIC Project / Server * %% * 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 * * ht...
package com.project.convertedCode.servlets.vendor.tijsverkoyen.css_to_inline_styles.src.Css.Property; import com.runtimeconverter.runtime.includes.RuntimeIncludable; import com.runtimeconverter.runtime.includes.RuntimeConverterServlet; import com.runtimeconverter.runtime.RuntimeEnv; import javax.servlet.http.HttpServl...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package android.support.v7.appcompat; public final class R { public static final class anim { public static final int abc_f...
package org.quiltmc.chasm.lang.ast; import java.util.HashMap; import java.util.Map; import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.tree.ParseTree; import org.quiltmc.chasm.lang.Cache; import org.quiltmc.chasm.lang.ScopeStack; import org.quiltmc.chasm.lang.antlr.ChasmParser; import org.quiltmc.chasm.la...
package cn.m1yellow.mypages.god.service; import cn.m1yellow.mypages.god.entity.UserBase; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * 用户表 服务类 * </p> * * @author M1Yellow * @since 2021-04-13 */ public interface UserBaseService extends IService<UserBase> { UserBase getByUserName(...
package com.vip.saturn.job.console.mybatis.service.impl; import com.vip.saturn.job.console.mybatis.entity.SystemConfig; import com.vip.saturn.job.console.mybatis.repository.SystemConfigRepository; import com.vip.saturn.job.console.mybatis.service.SystemConfig4SqlService; import org.springframework.beans.factory.annota...
package org.bouncycastle.jce.provider.test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.math.BigInteger; import java.security.AlgorithmParameters; import java.security.InvalidAlgo...
package com.gls.job.dashboard.web.entity; import com.gls.job.core.constants.*; import com.gls.starter.data.jpa.annotations.Comment; import com.gls.starter.data.jpa.base.BaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.ToString; import lombok.experimental.Accessors; import javax.persisten...
/******************************************************************************* * Copyright (C) 2017-2019 Kat Fung Tjew * * 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 restri...
/** * */ package com.luchoct.basket.service; import java.util.List; /** * An exception over some items. * @author Luis * */ public class ItemsException extends Exception { /** * The serial version UID. */ private static final long serialVersionUID = 685440193403744455L; /** * It creates the excepti...
package baracil.jplugman.manager; import jplugman.api.Application; import jplugman.manager.PluginManager; import lombok.NonNull; import lombok.RequiredArgsConstructor; import lombok.Synchronized; import baracil.jplugman.manager.action.BundleAdder; import baracil.jplugman.manager.action.BundleRemover; import java.nio....
package main; import main.ticket.ServerTicket; import main.ticket.Ticket; import java.util.Collection; /** * Interface of ticket reader */ public interface TicketReader { /** * Gets tickets * @return ticket collection */ Collection<ServerTicket> getTickets(); }
/* * (C) Copyright 2006-2007 Nuxeo SA (http://nuxeo.com/) and others. * * 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 re...
package com.sequenceiq.it.cloudbreak.cloud.v4; import java.util.Map; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; @Configuration @ConfigurationProperties(prefix = "integrationtest") public class CommonCloudProperties { p...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * GeoServer-Manager - Simple Manager Library for GeoServer * * Copyright (C) 2007,2011 GeoSolutions S.A.S. * http://www.geo-solutions.it * * 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 w...
package io.ooc.project.dto; import io.ooc.project.model.*; import java.util.List; public class RoleDTO { private Integer roleId; private String roleName; private List<User>user; public Integer getRoleId() { return roleId; } public void setRoleId(Integer roleId) { this.roleId = roleId; } public St...
/** * Core infrastructure for providing Neo4j sessions to Spring Data Neo4j. */ @NonNullApi package org.springframework.data.neo4j.core.transaction; import org.springframework.lang.NonNullApi;
/** * (C) Jennic Ltd * * $Id: NotImplemented.java 78102 2016-03-24 15:35:29Z nxp29741 $ */ package com.jennic.ZPSConfiguration; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Not Implemented</b></em>'. * <!-- end-user-doc --> * * <p> * The ...
package owltools.version; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.Enumeration; import java.util.jar.Attributes; import java.util.jar.JarFile; import java.util.jar.Manifest; public class VersionInfo { private VersionInfo() { // make constructor private...
/* * Copyright 2018-2019 adorsys GmbH & Co KG * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
package com.hhkj.model.mis.sys; import com.dx.jwfm.framework.web.action.FastBaseAction; import com.dx.jwfm.framework.web.view.Node; public class HelloWorld extends FastBaseAction { @Override public String execute() { return writeHTML("hello world213!"); } public String toJsp(){ // setCookie("PATH", "/path",...
/* * 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 mobileteamwork; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import io.appium.java_client.android.AndroidDriver; public class ConfirmationRequiredPage extends AbstractPageObject{ By m_deleteBtn = By.xpath("android.widget.Button[@text='Delete']"); public ConfirmationRequiredPage(...
/* * 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 prosayj.thinking.spring4.webviewthymeleaf.spittr.web; import static org.mockito.Mockito.*; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; import static org.springframework.test.web.servlet.s...
/* Generic definitions */ /* Assertions (useful to generate conditional code) */ /* Current type and class (and size, if applicable) */ /* Value methods */ /* Interfaces (keys) */ /* Interfaces (values) */ /* Abstract implementations (keys) */ /* Abstract implementations (values) */ /* Static containers (keys) */ /...
/******************************************************************************* * Copyright (c) 2005, 2014 springx.github.io * * Licensed under the Apache License, Version 2.0 (the "License"); *******************************************************************************/ package com.springx.examples.showcase.dem...
/* * 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 za.ac.tut.travel_guide; import org.apache.commons.validator.EmailValidator; import java.io.IOException; import java.util.Cale...
package com.flipkart.foxtrot.common.query.datetime; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.Assert; import org.junit.Test; public class LastFilterTest { private final ObjectMapper objectMapper; public LastFilterTest() { ...
/* * Copyright 2014 The Error Prone 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 ...
/* * 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 2012 Corentin Azelart. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright (c) 2018 - 2020 - Werner Elsler, Frank Hossfeld * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
/* * Copyright 2000-2017 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...
package com.hradecek.airline.entity; import org.hibernate.validator.constraints.NotBlank; import javax.persistence.Column; import javax.persistence.EmbeddedId; import javax.persistence.Entity; import javax.validation.constraints.NotNull; /** * <p> * Flight entity represents single flight at storage. * </p> * * ...
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...